From 0643ccd133babaaa558c690bd42b0419b2d99153 Mon Sep 17 00:00:00 2001 From: Spencer Vaughn Date: Sat, 23 Sep 2023 14:57:31 -0500 Subject: [PATCH] add v2 github actions build workflow --- .github/workflows/build-test.yml | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/build-test.yml diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml new file mode 100644 index 0000000..29ffecd --- /dev/null +++ b/.github/workflows/build-test.yml @@ -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