From b217d0a1c456a870f55f35ddb26015e9e2341265 Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Tue, 29 Oct 2024 21:48:41 +0100 Subject: [PATCH] Added CI --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..8bdff6c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: Build + +on: + push: + +jobs: + PSP: + runs-on: ubuntu-latest + container: pspdev/pspdev:latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build + run: | + cmake -S . -B build \ + -DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo + cmake --build build --config RelWithDebInfo + - name: Publish artifacts + uses: actions/upload-artifact@v4 + with: + name: libpspme + path: | + build/bin/ + build/lib/ \ No newline at end of file