From 58d8e4c993a8be69ab3cf37aa356a73163cfae03 Mon Sep 17 00:00:00 2001 From: paku Date: Sat, 11 Jan 2025 12:50:26 +0900 Subject: [PATCH] Migrate from GitHub Actions to Forgejo Actions --- .forgejo/workflows/CI.yml | 35 +++++++++++++++++++++++++++++++++++ .github/workflows/test.yml | 29 ----------------------------- 2 files changed, 35 insertions(+), 29 deletions(-) create mode 100644 .forgejo/workflows/CI.yml delete mode 100644 .github/workflows/test.yml diff --git a/.forgejo/workflows/CI.yml b/.forgejo/workflows/CI.yml new file mode 100644 index 0000000..79673c2 --- /dev/null +++ b/.forgejo/workflows/CI.yml @@ -0,0 +1,35 @@ +name: 'CI' + +on: + push: + branches: + - 'master' + pull_request: + +jobs: + test: + runs-on: docker + + strategy: + matrix: + lisp: + - sbcl-bin + + env: + LISP: ${{ matrix.lisp }} + + steps: + - uses: actions/checkout@v4 + - name: Install Roswell + env: + LISP: ${{ matrix.lisp }} + run: | + curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh + - name: Install Qlot + run: ros install fukamachi/qlot + - name: Install dependencies + run: | + PATH="~/.roswell/bin:$PATH" + qlot install + - name: Run tests + run: .qlot/bin/rove hsx.asd diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index decfc7c..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: 'test' - -on: - push: - branches: - - 'master' - pull_request: - -jobs: - tests: - runs-on: ubuntu-latest - - strategy: - matrix: - lisp: - - sbcl-bin - - ccl-bin - - env: - LISP: ${{ matrix.lisp }} - - steps: - - uses: actions/checkout@v4 - - uses: 40ants/setup-lisp@v4 - with: - asdf-system: hsx - - uses: 40ants/run-tests@v2 - with: - asdf-system: hsx