From b057ff148a74b04a970689218ff89af88cf6275c 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/test.yml | 35 +++++++++++++++++++++++++++++++++++ .github/workflows/test.yml | 29 ----------------------------- 2 files changed, 35 insertions(+), 29 deletions(-) create mode 100644 .forgejo/workflows/test.yml delete mode 100644 .github/workflows/test.yml diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml new file mode 100644 index 0000000..5bef683 --- /dev/null +++ b/.forgejo/workflows/test.yml @@ -0,0 +1,35 @@ +name: 'test' + +on: + push: + branches: + - 'master' + pull_request: + +jobs: + tests: + 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 + PATH="~/.roswell/bin:$PATH" + - name: Install dependencies + run: 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