equal
deleted
inserted
replaced
1 name: Build distributable bundles |
1 name: Build distributable bundles |
2 |
2 |
|
3 # This overrides HG revision IDs in Makefile |
3 env: |
4 env: |
4 # This overrides HG revision IDs in Makefile |
5 beremiz_revisionid: 9fb2ded4f1988440faf546488ee83373825330f4 |
5 beremiz_revisionid: 9fb2ded4f1988440faf546488ee83373825330f4 |
6 matiec_revisionid: 2a25f4dbf4e2b1e017a3a583db7dede4771fe523 |
6 matiec_revisionid: 2a25f4dbf4e2b1e017a3a583db7dede4771fe523 |
7 CanFestival-3_revisionid: 12a05e422666c738d1312259703f80150c747cb5 |
7 CanFestival-3_revisionid: 12a05e422666c738d1312259703f80150c747cb5 |
|
8 |
8 |
9 on: |
9 on: |
10 push: |
10 push: |
11 branches: [ default ] |
11 branches: [ default ] |
12 |
12 |
19 steps: |
19 steps: |
20 - uses: actions/checkout@v3 |
20 - uses: actions/checkout@v3 |
21 with: |
21 with: |
22 path: beremiz_public_dist |
22 path: beremiz_public_dist |
23 |
23 |
24 # repositories are directly checked out wher Makerfile expect them |
24 # repositories are directly checked out wher Makerfile expect them |
25 - uses: actions/checkout@v3 |
25 - uses: actions/checkout@v3 |
26 with: |
26 with: |
27 repository: beremiz/beremiz |
27 repository: beremiz/beremiz |
28 ref: ${{ env.beremiz_revisionid }} |
28 ref: ${{ env.beremiz_revisionid }} |
29 path: build/sources/beremiz_${{ env.beremiz_revisionid }} |
29 path: build/sources/beremiz_${{ env.beremiz_revisionid }} |
44 run: | |
44 run: | |
45 touch build/sources/beremiz_src |
45 touch build/sources/beremiz_src |
46 touch build/sources/matiec_src |
46 touch build/sources/matiec_src |
47 touch build/sources/CanFestival-3_src |
47 touch build/sources/CanFestival-3_src |
48 cat >> build/revisions.txt <<EOF |
48 cat >> build/revisions.txt <<EOF |
49 beremiz_public_dist ${{ github.sha }} |
49 beremiz_public_dist ${{ github.sha }} |
50 beremiz ${{ env.beremiz_revisionid }} |
50 beremiz ${{ env.beremiz_revisionid }} |
51 matiec ${{ env.matiec_revisionid }} |
51 matiec ${{ env.matiec_revisionid }} |
52 CanFestival-3 ${{ env.CanFestival-3_revisionid }} |
52 CanFestival-3 ${{ env.CanFestival-3_revisionid }} |
53 EOF |
53 EOF |
54 |
54 |
55 # TODO: cache docker image, find files to hash for a key |
55 # TODO: cache docker image, find files to hash for a key |
56 - name: Create docker image |
56 - name: Create docker image |
57 run: | |
57 run: | |
58 cd beremiz_public_dist |
58 cd beremiz_public_dist |
59 ./build_docker_image.sh |
59 ./build_docker_image.sh |
60 |
60 |