# HG changeset patch # User Edouard Tisserant # Date 1652977405 -7200 # Node ID 0c4dd1cd09880f5e3d59a99f6cf8f7554dc57e8b # Parent 20c1c8a59eab80a8e34e39cb09c0c9bc34261210 Add GitHub Actions workflow file to build windows bundles on push to default branch. diff -r 20c1c8a59eab -r 0c4dd1cd0988 .github/workflows/build_bundles.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.github/workflows/build_bundles.yml Thu May 19 18:23:25 2022 +0200 @@ -0,0 +1,79 @@ +name: Build distributable bundles + +env: + # This overrides HG revision IDs in Makefile + beremiz_revisionid: 9fb2ded4f1988440faf546488ee83373825330f4 + matiec_revisionid: 2a25f4dbf4e2b1e017a3a583db7dede4771fe523 + CanFestival-3_revisionid: 12a05e422666c738d1312259703f80150c747cb5 + +on: + push: + branches: [ default ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + path: beremiz_public_dist + + # repositories are directly checked out wher Makerfile expect them + - uses: actions/checkout@v3 + with: + repository: beremiz/beremiz + ref: ${{ env.beremiz_revisionid }} + path: build/sources/beremiz_${{ env.beremiz_revisionid }} + + - uses: actions/checkout@v3 + with: + repository: beremiz/matiec + ref: ${{ env.matiec_revisionid }} + path: build/sources/matiec_${{ env.matiec_revisionid }} + + - uses: actions/checkout@v3 + with: + repository: beremiz/CanFestival-3 + ref: ${{ env.CanFestival-3_revisionid }} + path: build/sources/CanFestival-3_${{ env.CanFestival-3_revisionid }} + + - name: Touch expected Makfile targets to shortcut HG checkout + run: | + touch build/sources/beremiz_src + touch build/sources/matiec_src + touch build/sources/CanFestival-3_src + cat >> build/revisions.txt <