github: Rename the linux-cross job to linux-cross-windows

This commit is contained in:
Martin Storsjö committed 2023-04-26 19:18:24 +03:00
1 parent 75c4092b8f
commit 525489a018
1 file changed
+7 -7
+7 -7
View File
@@ -183,7 +183,7 @@ jobs:
# Use the Linux cross compilers built in the first step to cross compile # Use the Linux cross compilers built in the first step to cross compile
# llvm and make a proper standalone toolchain for Windows (for all 4 # llvm and make a proper standalone toolchain for Windows (for all 4
# architectures). The binaries built here match actual releases quite closely. # architectures). The binaries built here match actual releases quite closely.
linux-cross: linux-cross-windows:
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
needs: [linux, prepare] needs: [linux, prepare]
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -231,7 +231,7 @@ jobs:
# toolchain from above. # toolchain from above.
test-toolchain: test-toolchain:
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw') if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
needs: [linux-cross] needs: [linux-cross-windows]
runs-on: windows-latest runs-on: windows-latest
defaults: defaults:
run: run:
@@ -279,7 +279,7 @@ jobs:
# The libcxxabi and libunwind tests don't pass on the pinned 16.x branch, # The libcxxabi and libunwind tests don't pass on the pinned 16.x branch,
# only on git main. # only on git main.
if: false if: false
needs: [linux-cross, prepare] needs: [linux-cross-windows, prepare]
runs-on: windows-latest runs-on: windows-latest
strategy: strategy:
fail-fast: false fail-fast: false
@@ -334,7 +334,7 @@ jobs:
test-openmp: test-openmp:
# Only running these tests in scheduled builds. # Only running these tests in scheduled builds.
if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw')
needs: [linux-cross, prepare] needs: [linux-cross-windows, prepare]
runs-on: windows-latest runs-on: windows-latest
strategy: strategy:
fail-fast: false fail-fast: false
@@ -396,7 +396,7 @@ jobs:
# These tests don't pass on the pinned 16.x branch, but only on latest # These tests don't pass on the pinned 16.x branch, but only on latest
# git main - thus only run it for scheduled jobs. # git main - thus only run it for scheduled jobs.
if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw')
needs: [linux-cross, prepare] needs: [linux-cross-windows, prepare]
runs-on: windows-latest runs-on: windows-latest
strategy: strategy:
fail-fast: false fail-fast: false
@@ -523,7 +523,7 @@ jobs:
# for scheduled builds. # for scheduled builds.
test-ffmpeg: test-ffmpeg:
if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw')
needs: [linux-cross] needs: [linux-cross-windows]
runs-on: windows-latest runs-on: windows-latest
defaults: defaults:
run: run:
@@ -572,7 +572,7 @@ jobs:
if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw') if: (github.event_name == 'schedule') && (github.repository == 'mstorsjo/llvm-mingw')
permissions: permissions:
contents: write contents: write
needs: [linux, macos, linux-cross, test-toolchain, linux-test-cross-build-ffmpeg, test-ffmpeg] needs: [linux, macos, linux-cross-windows, test-toolchain, linux-test-cross-build-ffmpeg, test-ffmpeg]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Download all artifacts - name: Download all artifacts