-
-
Notifications
You must be signed in to change notification settings - Fork 85
41 lines (37 loc) · 1.21 KB
/
build.yaml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
# Action name
name: build
# Here, this action will be enabled on all pushes.
# Modify this to fit your needs.
on:
push
# Jobs section
jobs:
# The job that will use the container image you just pushed to ghcr.io
build:
runs-on: ubuntu-20.04
container:
image: klonyyy/mingw-w64-x86-64:2
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.PAT }}
- name: build_step
shell: bash
run: git config --global --add safe.directory /__w/MCUViewer/ && ./launch/release.sh
- uses: actions/upload-artifact@v4
with:
name: MCUViewer_installer
path: /__w/MCUViewer/MCUViewer/build/packages
test:
runs-on: ubuntu-20.04
container:
image: klonyyy/mingw-w64-x86-64:2
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.PAT }}
- name: test_step
shell: bash
run: git config --global --add safe.directory /__w/MCUViewer/ && ./launch/run_tests.sh