From fd90d7849690413e575a9499231b07db4f598c0e Mon Sep 17 00:00:00 2001 From: paku <paku@skyizwhite.dev> Date: Sat, 11 Jan 2025 12:50:26 +0900 Subject: [PATCH 1/2] Migrate from GitHub Actions to Forgejo Actions --- {.github => .forgejo}/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename {.github => .forgejo}/workflows/test.yml (63%) diff --git a/.github/workflows/test.yml b/.forgejo/workflows/test.yml similarity index 63% rename from .github/workflows/test.yml rename to .forgejo/workflows/test.yml index decfc7c..7599a20 100644 --- a/.github/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -8,7 +8,7 @@ on: jobs: tests: - runs-on: ubuntu-latest + runs-on: docker strategy: matrix: @@ -20,10 +20,10 @@ jobs: LISP: ${{ matrix.lisp }} steps: - - uses: actions/checkout@v4 - - uses: 40ants/setup-lisp@v4 + - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://github.com/40ants/setup-lisp@v4 with: asdf-system: hsx - - uses: 40ants/run-tests@v2 + - uses: https://github.com/40ants/run-tests@v2 with: asdf-system: hsx From b1b94ca17e292b12b3c6752f45c29f47526351c3 Mon Sep 17 00:00:00 2001 From: paku <paku@skyizwhite.dev> Date: Sat, 11 Jan 2025 12:50:26 +0900 Subject: [PATCH 2/2] Migrate from GitHub Actions to Forgejo Actions --- .forgejo/workflows/test.yml | 36 ++++++++++++++++++++++++++++++++++++ .github/workflows/test.yml | 29 ----------------------------- 2 files changed, 36 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..2d9eb4f --- /dev/null +++ b/.forgejo/workflows/test.yml @@ -0,0 +1,36 @@ +name: 'test' + +on: + push: + branches: + - 'master' + pull_request: + +jobs: + tests: + runs-on: docker + + strategy: + matrix: + lisp: + - sbcl-bin + - ccl-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