diff options
author | fiaxh <git@lightrise.org> | 2021-03-04 16:21:49 -0600 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2021-03-04 16:22:10 -0600 |
commit | a07723636f98dde4b15527fce3ef7da50108cc95 (patch) | |
tree | 0e75a3762db03c4d5811a115eb297d759167fbe6 | |
parent | ea678bb8d8734c7fa085191128e99d8d484b25b9 (diff) | |
download | dino-a07723636f98dde4b15527fce3ef7da50108cc95.tar.gz dino-a07723636f98dde4b15527fce3ef7da50108cc95.zip |
Switch from travis to github actions
-rw-r--r-- | .github/workflows/build.yml | 13 | ||||
-rw-r--r-- | .travis.yml | 24 |
2 files changed, 13 insertions, 24 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..c0fb5e49 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,13 @@ +name: Build +on: [pull_request, push] +jobs: + build: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - run: sudo apt-get update + - run: sudo apt-get install -y build-essential gettext cmake valac libgee-0.8-dev libsqlite3-dev libgtk-3-dev libnotify-dev libgpgme-dev libsoup2.4-dev libgcrypt20-dev libqrencode-dev libgspell-1-dev + - run: ./configure --with-tests --with-libsignal-in-tree + - run: make + - run: build/xmpp-vala-test + - run: build/signal-protocol-vala-test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e8b31437..00000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -language: generic - -services: - - docker - -env: - - CONFIGURE_FLAGS= - - CONFIGURE_FLAGS=--release - - CONFIGURE_FLAGS=--no-debug - -before_install: - - export CONTAINER_ID=$(docker run -itd --rm --mount type=bind,source="$(pwd)",target=/app debian:stable) - - docker exec $CONTAINER_ID apt-get update - - docker exec $CONTAINER_ID apt-get install -y build-essential gettext cmake valac libgee-0.8-dev libsqlite3-dev libgtk-3-dev libnotify-dev libgpgme-dev libsoup2.4-dev libgcrypt20-dev libqrencode-dev libgspell-1-dev -install: - - docker exec $CONTAINER_ID bash -c "cd /app; ./configure --with-tests --with-libsignal-in-tree $CONFIGURE_FLAGS" - - docker exec $CONTAINER_ID bash -c "cd /app; make" - -script: - - docker exec $CONTAINER_ID bash -c "cd /app; build/xmpp-vala-test" - - docker exec $CONTAINER_ID bash -c "cd /app; build/signal-protocol-vala-test" - -after_script: - - docker kill $CONTAINER_ID |