diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f06cd50 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: Test + +on: [push] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + compiler: [gcc, clang] + steps: + - uses: actions/checkout@v4 + - run: | + sudo apt-get update + sudo apt-get install -y build-essential libcurl4-gnutls-dev + - env: + CC: ${{ matrix.compiler }} + run: make test + + test-macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - run: make test