GHA: Replace deprecated set-output (#585) #243
This file contains 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: build_windows | |
on: | |
pull_request: | |
push: | |
env: | |
BRANCH: ${{ github.base_ref || github.ref_name }} | |
jobs: | |
build_lld: | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: [x86, x64] | |
name: Build LLD ${{ matrix.arch }} | |
runs-on: windows-2019 | |
timeout-minutes: 120 | |
env: | |
VSINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\ | |
# NB: update windows/build_lld.sha256sums as well | |
LLVM_VER: 9.0.0 | |
ARCH: ${{ matrix.arch }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- shell: cmd | |
run: call windows\build_lld.bat || exit /b | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: lld-${{ matrix.arch }} | |
path: artifacts/ | |
build_mingw_libs: | |
name: Build MinGW-based libs | |
runs-on: windows-2019 | |
timeout-minutes: 120 | |
env: | |
VSINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\ | |
# NB: update windows/build_mingw.sha256sums as well | |
MINGW_VER: 8.0.0 | |
D_VERSION: 2.077.1 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- shell: cmd | |
run: call windows\build_mingw.bat || exit /b | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: mingw-libs | |
path: artifacts/ | |
build_curl: | |
name: Build curl | |
runs-on: windows-2019 | |
timeout-minutes: 120 | |
env: | |
VSINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\ | |
# NB: update windows/build_curl.sha256sums as well | |
CURL_VER: 7.68.0 | |
ZLIB_VER: 1.2.11 | |
PEXPORTS_VER: 0.47 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- shell: cmd | |
run: call windows\build_curl.bat || exit /b | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: curl | |
path: artifacts/ |