Use windows-11-arm on all jobs #324
Workflow file for this run
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
| # Repository permission needs `Read and write permissions` setting selected under `Workflow permissions` to allow to update/create new tag | |
| name: CI | |
| on: | |
| push: # test + build + release | |
| branches: [ master, arm64-windows ] | |
| pull_request: # test + build | |
| branches: [ master ] | |
| release: # test + build + release | |
| types: [ published ] | |
| env: | |
| DC: ldc-1.41.0 | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| build_vanilla_d: | |
| name: Build vanilla D | |
| strategy: | |
| matrix: | |
| os: [windows-11-arm] | |
| build: [debug-fast, release-fast] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dlang-community/setup-dlang@v1 | |
| with: | |
| compiler: ${{ env.DC }} | |
| - name: Build | |
| run: | | |
| ./build/setup.sh | |
| ./build/builder --action=build --remove-build \ | |
| --build=${{matrix.build}} \ | |
| --target=windows-arm64 \ | |
| --config=nih-cli,nih-static,nih-shared,vbe-static,vbe-shared \ | |
| --compiler=ldc2 --print-commands --print-total-time \ | |
| --print-callees --pretty --color --verbose-callees | |
| build_no_deps: | |
| strategy: | |
| matrix: | |
| os: | |
| - runner: windows-11-arm | |
| target: arm64-windows | |
| v: | |
| - build: debug-fast,release-fast | |
| config: nih-cli,nih-static,nih-shared,vbe-static,vbe-shared | |
| - build: debug | |
| config: testsuite | |
| name: Build ${{ matrix.os.target }}-${{ matrix.v.build }}-${{ matrix.v.config }} | |
| runs-on: ${{ matrix.os.runner }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dlang-community/setup-dlang@v1 | |
| with: | |
| compiler: ${{ env.DC }} | |
| - name: Build | |
| run: | | |
| ./build/setup.sh | |
| ./build/builder --action=pack --remove-build --no-deps \ | |
| --build=${{ matrix.v.build }} \ | |
| --target-relaxed=${{ matrix.os.target }} \ | |
| --config=${{ matrix.v.config }} \ | |
| --compiler=ldc2 --print-commands --print-total-time \ | |
| --print-callees --pretty --color | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact-${{ matrix.os.target }}-${{ matrix.v.build }}-${{ matrix.v.config }} | |
| path: bin/ | |
| test: | |
| name: Test suite ${{ matrix.os.target }} | |
| strategy: | |
| matrix: | |
| os: | |
| - runner: windows-11-arm | |
| target: arm64-windows | |
| runs-on: ${{ matrix.os.runner }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dlang-community/setup-dlang@v1 | |
| with: | |
| compiler: ${{ env.DC }} | |
| - name: Test | |
| run: | | |
| ./build/setup.sh | |
| ./build/builder --action=run --remove-build --no-deps --build=debug \ | |
| --target-relaxed=${{ matrix.os.target }} --config=testsuite \ | |
| --compiler=ldc2 --print-commands --print-callees --pretty --color |