[CI] Test in a more controlled setting
This commit is contained in:
parent
8062f0ac6c
commit
812284df38
29
.gitea/workflows/test.yml
Normal file
29
.gitea/workflows/test.yml
Normal file
@ -0,0 +1,29 @@
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
name: Test
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: zmkfirmware/zmk-build-arm:stable
|
||||
name: Build
|
||||
steps:
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
apt-get update;
|
||||
apt-get install --yes --no-install-recommends \
|
||||
nodejs \
|
||||
ca-certificates
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create some File
|
||||
run: echo "lalala" > test.txt
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: test.txt
|
||||
if-no-files-found: ignore
|
Loading…
Reference in New Issue
Block a user