-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aaa1c23
commit 8424897
Showing
1 changed file
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,20 +9,40 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
os: [ubuntu-latest, windows-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Install dependencies (Linux) | ||
run: sudo apt-get install libx11-dev libxrandr-dev libxcursor-dev libxi-dev libudev-dev libgl1-mesa-dev | ||
if: matrix.os == 'ubuntu-latest' | ||
|
||
- uses: lukka/get-cmake@latest | ||
|
||
- name: Setup vcpkg and install packages | ||
- name: Setup vcpkg | ||
uses: lukka/[email protected] | ||
|
||
- name: Run CMake | ||
- name: Run CMake and install necessary packages | ||
uses: lukka/[email protected] | ||
with: | ||
configurePreset: 'x64-Release' | ||
buildPreset: 'x64-Release' | ||
|
||
- name: Upload artifact (Linux) | ||
uses: actions/[email protected] | ||
if: matrix.os == 'ubuntu-latest' | ||
with: | ||
name: sayaslicer-linux | ||
path: out/build/x64-Release/sayaslicer/sayaslicer | ||
|
||
- name: Upload artifact (Windows) | ||
uses: actions/[email protected] | ||
if: matrix.os == 'windows-latest' | ||
with: | ||
name: sayaslicer-windows | ||
path: | | ||
out/build/x64-Release/sayaslicer/*.dll | ||
out/build/x64-Release/sayaslicer/*.exe |