mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 05:54:03 -06:00
build deps cicd
This commit is contained in:
parent
483febb01d
commit
6aa84e8c42
1 changed files with 8 additions and 3 deletions
11
.github/workflows/build_deps.yml
vendored
11
.github/workflows/build_deps.yml
vendored
|
@ -11,6 +11,7 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
include:
|
||||
- os: ubuntu-20.04
|
||||
|
@ -22,9 +23,13 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: setup dev on Windows
|
||||
if: matrix.os == 'Windows'
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
|
||||
- name: Build on Windows
|
||||
if: matrix.os == 'Windows'
|
||||
working-directory: ${{ github.workspace }}
|
||||
if: ${{ runner.os == 'Windows' }}
|
||||
run: |
|
||||
choco install strawberryperl
|
||||
mkdir ${{ github.workspace }}/deps/build
|
||||
|
@ -32,7 +37,7 @@ jobs:
|
|||
.\build_release.bat deps
|
||||
|
||||
- name: Build on Mac x86_64
|
||||
if: ${{ runner.os == 'macos-12' }}
|
||||
if: ${{ runner.os == 'macOS' }}
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: |
|
||||
brew install cmake git gettext
|
||||
|
@ -41,7 +46,7 @@ jobs:
|
|||
./build_release_macos.sh -d -a x86_64
|
||||
|
||||
- name: Build on Ubuntu
|
||||
if: ${{ runner.os == 'ubuntu-20.04' }}
|
||||
if: matrix.os == 'ubuntu-20.04'
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue