Scopes Nightly #274
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Scopes Nightly | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 0 * * 0" | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install build dependencies | |
| run: sudo apt install mkdocs python3-pip libtinfo6 fish | |
| - name: Prepare build | |
| run: | | |
| curl https://hg.sr.ht/~duangle/majoreo/raw/eo | python3 - init majoreo | |
| hg clone https://hg.sr.ht/~duangle/scopes/ | |
| - id: build | |
| name: Build | |
| working-directory: ./scopes | |
| run: | | |
| fish ../build.fish linux default based | |
| - name: Artifact (default) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ steps.build.outputs.artifact-name-default }} | |
| path: scopes/${{ steps.build.outputs.artifact-name-default }}.tar.gz | |
| - name: Artifact (based) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ steps.build.outputs.artifact-name-based }} | |
| path: scopes/${{ steps.build.outputs.artifact-name-based }}.tar.gz | |
| windows: | |
| runs-on: windows-latest | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: msys2/setup-msys2@v2 | |
| - name: Install build dependencies | |
| run: pacman -S --noconfirm make mingw64/mingw-w64-x86_64-python mingw64/mingw-w64-x86_64-python-pip zip unzip mingw64/mingw-w64-x86_64-gcc mingw64/mingw-w64-x86_64-libxml2 fish mercurial | |
| - name: Prepare build | |
| run: | | |
| curl https://hg.sr.ht/~duangle/majoreo/raw/eo | python3 - init majoreo | |
| hg clone https://hg.sr.ht/~duangle/scopes/ | |
| - id: build | |
| name: Build | |
| working-directory: ./scopes | |
| run: | | |
| fish ../build.fish windows default | |
| - name: Artifact (default) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ steps.build.outputs.artifact-name-default }} | |
| path: scopes/${{ steps.build.outputs.artifact-name-default }}.zip | |
| - name: Artifact (based) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ steps.build.outputs.artifact-name-based }} | |
| path: scopes/${{ steps.build.outputs.artifact-name-based }}.zip |