-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add v2 github actions build workflow
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build and Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- v2/main | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
arch: [arm64] # Specify the desired architectures here | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build libpksav | ||
run: | | ||
cd libpksav/ | ||
cmake . | ||
make | ||
- name: Build Project | ||
run: | | ||
make all | ||
- name: Publish Build Artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: pokeromtrader.out # Specify a name for your artifacts | ||
path: src/ # Specify the directory containing your build artifacts | ||
|
||
- name: Clean Up | ||
run: | | ||
make clean |