Skip to content

Commit 9ed79ae

Browse files
committed
ci: Add GitHub Actions workflow for multi-platform build and artifact upload.
1 parent 4558828 commit 9ed79ae

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: [ubuntu-latest, windows-latest, macos-latest]
21+
include:
22+
- os: ubuntu-latest
23+
bin_path: build/proxpl
24+
- os: macos-latest
25+
bin_path: build/proxpl
26+
- os: windows-latest
27+
bin_path: build/Release/proxpl.exe
2128

2229
steps:
2330
- name: Checkout source
@@ -132,14 +139,11 @@ jobs:
132139
-DCMAKE_PREFIX_PATH="$env:LLVM_ROOT"
133140
134141
- name: Build
135-
136142
shell: bash
137-
run: cmake --build build --verbose
143+
run: cmake --build build --config Release --verbose
138144

139145
- name: Upload Artifact
140146
uses: actions/upload-artifact@v4
141147
with:
142148
name: ProXPL-${{ matrix.os }}
143-
path: |
144-
build/proxpl
145-
build/Release/proxpl.exe
149+
path: ${{ matrix.bin_path }}

0 commit comments

Comments
 (0)