added tests, use specific CI
This commit is contained in:
@@ -17,7 +17,7 @@ env:
|
||||
jobs:
|
||||
test:
|
||||
name: Run Tests
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [linux, amd64]
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
|
||||
build-linux:
|
||||
name: Build Linux
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [linux, amd64]
|
||||
needs: test
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -133,7 +133,7 @@ jobs:
|
||||
|
||||
build-android:
|
||||
name: Build Android
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [linux, amd64]
|
||||
needs: test
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -214,7 +214,7 @@ jobs:
|
||||
|
||||
create-release:
|
||||
name: Create Release
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [linux, amd64]
|
||||
needs: [build-linux, build-android]
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user