diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..1c8ee47f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,37 @@ +name: Build + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + name: CI with softoken + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + name: Checkout Repository + - name: Install Dependencies + run: | + sudo apt-get update + sudo apt-get install -y libnss3 libnss3-tools libnss3-dev + - name: Setup + run: | + autoreconf -fiv + ./configure + - name: Build and Test + run: | + make + make check + - uses: actions/upload-artifact@v3 + if: failure() + with: + name: Test logs + path: | + tests/test.sh.log + tests/openssl.cnf + tests/tmp/p11prov-debug.log + tests/tmp/debugvars + config.log