-
Notifications
You must be signed in to change notification settings - Fork 4
28 lines (26 loc) · 953 Bytes
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: CI
on:
push:
branches: [ acap-build ]
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dev container dependencies
run: npm install -g @devcontainers/[email protected]
- name: Create dev container
run: devcontainer up --workspace-folder .
- name: Update generated files
run: devcontainer exec --workspace-folder . make --always-make check_generated_files check_generated_files_container
- name: Update generated without acap-build
run: devcontainer exec --remote-env ACAP_SDK_LOCATION=/opt/axis/ --workspace-folder . make check_generated_files_container
- name: Run other checks
run: devcontainer exec --workspace-folder . make check_other
- uses: actions/upload-artifact@v4
if: always()
with:
name: 'staging_dirs'
path: target-aarch64/aarch64