check point
This commit is contained in:
1 parent
ae1cae967b
commit
1e85df5193
72 files changed
+11452
No files matched your search
@@ -0,0 +1,44 @@
|
||||
name: odin-ci
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'odin/**'
|
||||
- '.github/workflows/odin-ci.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'odin/**'
|
||||
- '.github/workflows/odin-ci.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-test:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: odin
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Odin
|
||||
uses: laytan/setup-odin@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build
|
||||
run: ./build.sh
|
||||
|
||||
- name: Test
|
||||
run: odin test tests
|
||||
|
||||
- name: Package
|
||||
run: ./scripts/package.sh
|
||||
|
||||
- name: Upload package artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: comic-odin-package
|
||||
path: |
|
||||
odin/dist/*.tar.gz
|
||||
odin/dist/*.sha256
|
||||
Reference in new issue
Block a user