fix: test arm
This commit is contained in:
parent
d6d88224b5
commit
d37920e730
|
@ -8,9 +8,8 @@ jobs:
|
|||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, arm-ubuntu-latest]
|
||||
brew_version: ["3.6.14", "latest"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: homebrew/brew:${{ matrix.brew_version }}
|
||||
env:
|
||||
|
@ -29,3 +28,24 @@ jobs:
|
|||
tea --version
|
||||
brew install gitea/gitea/gitea
|
||||
gitea --version
|
||||
test_arm:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
# the arm image hasn't been updated for years, maybe we should find a better way to test arm or just remove it
|
||||
image: markkrj/homebrew-arm:latest
|
||||
env:
|
||||
HOMEBREW_NO_AUTO_UPDATE: 1
|
||||
steps:
|
||||
- name: install node
|
||||
# to use actions/checkout
|
||||
run: |
|
||||
brew install node
|
||||
node --version
|
||||
- uses: actions/checkout@v3
|
||||
- name: test install
|
||||
run: |
|
||||
brew tap gitea/gitea "${PWD}"
|
||||
brew install gitea/gitea/tea
|
||||
tea --version
|
||||
brew install gitea/gitea/gitea
|
||||
gitea --version
|
||||
|
|
Loading…
Reference in New Issue