diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f0769cd --- /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 + - env: + CC: ${{ matrix.compiler }} + run: make test + + test-macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - run: make test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4dc1716..0000000 --- a/.travis.yml +++ /dev/null @@ -1,2 +0,0 @@ -language: c -script: make test \ No newline at end of file