From c1e484cf20c8b0a741e7c906233d32acb665ab1f Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Wed, 22 Jan 2025 14:07:40 +0900 Subject: [PATCH] Switch to Gitea actions --- .circleci/config.yml | 37 ------------------------------------- .gitea/workflows/test.yaml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 37 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .gitea/workflows/test.yaml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 8960555..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,37 +0,0 @@ -version: 2.1 - -executors: - aebuilder: - docker: - - image: aeternity/builder:bionic-otp23 - user: builder - working_directory: ~/aebytecode - -jobs: - build: - executor: aebuilder - steps: - - checkout - - restore_cache: - keys: - - dialyzer-cache-v1-{{ .Branch }}-{{ .Revision }} - - dialyzer-cache-v1-{{ .Branch }}- - - dialyzer-cache-v1- - - run: - name: Build - command: rebar3 compile - - run: - name: Static Analysis - command: make dialyzer - - run: - name: Eunit - command: make eunit - - run: - name: Common Tests - command: make test - - save_cache: - key: dialyzer-cache-v1-{{ .Branch }}-{{ .Revision }} - paths: - - _build/default/rebar3_20.3.8_plt - - store_artifacts: - path: _build/test/logs diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..c61e6e3 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,15 @@ +name: Gajumaru Bytecode Tests +run-name: ${{ gitea.actor }} testing Gajumaru Bytecode +on: [push, workflow_dispatch] + +jobs: + tests: + runs-on: linux_amd64 + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - name: eunit + run: | + . /opt/act_runner/erts/27.2/activate + make + ./rebar3 eunit