github: Upgrade deprecated actions to newer ones
The previous ones use Node 16 which now is deprecated.
This commit is contained in:
1 parent
1139164bf6
commit
ad30b74173
6 files changed
+46
-46
No files matched your search
+28
-28
@@ -47,7 +47,7 @@ jobs:
|
|||||||
echo PYTHON_VERSION_MINGW=$(git ls-remote https://github.com/msys2-contrib/cpython-mingw.git | grep 'refs/heads/mingw-v3.11.6$' | awk '{print $1}') >> $GITHUB_OUTPUT
|
echo PYTHON_VERSION_MINGW=$(git ls-remote https://github.com/msys2-contrib/cpython-mingw.git | grep 'refs/heads/mingw-v3.11.6$' | awk '{print $1}') >> $GITHUB_OUTPUT
|
||||||
cat $GITHUB_OUTPUT
|
cat $GITHUB_OUTPUT
|
||||||
cat $GITHUB_OUTPUT >> parameters.txt
|
cat $GITHUB_OUTPUT >> parameters.txt
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: parameters
|
name: parameters
|
||||||
path: |
|
path: |
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
needs: [prepare]
|
needs: [prepare]
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
||||||
@@ -78,7 +78,7 @@ jobs:
|
|||||||
NAME=llvm-mingw-$TAG-ucrt-$DISTRO
|
NAME=llvm-mingw-$TAG-ucrt-$DISTRO
|
||||||
mv llvm-mingw $NAME
|
mv llvm-mingw $NAME
|
||||||
tar -Jcf ../$NAME.tar.xz $NAME
|
tar -Jcf ../$NAME.tar.xz $NAME
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: linux-ucrt-x86_64-toolchain
|
name: linux-ucrt-x86_64-toolchain
|
||||||
path: |
|
path: |
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
needs: [linux, prepare]
|
needs: [linux, prepare]
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
||||||
@@ -101,7 +101,7 @@ jobs:
|
|||||||
sudo apt-get update && sudo apt-get install ninja-build g++-aarch64-linux-gnu
|
sudo apt-get update && sudo apt-get install ninja-build g++-aarch64-linux-gnu
|
||||||
./build-all.sh $(pwd)/install/llvm-mingw --disable-clang-tools-extra --no-runtimes --host=aarch64-linux-gnu
|
./build-all.sh $(pwd)/install/llvm-mingw --disable-clang-tools-extra --no-runtimes --host=aarch64-linux-gnu
|
||||||
.github/workflows/store-version.sh install/llvm-mingw/versions.txt
|
.github/workflows/store-version.sh install/llvm-mingw/versions.txt
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: linux-ucrt-x86_64-toolchain
|
name: linux-ucrt-x86_64-toolchain
|
||||||
- name: Unpack native toolchain
|
- name: Unpack native toolchain
|
||||||
@@ -125,7 +125,7 @@ jobs:
|
|||||||
NAME=llvm-mingw-$TAG-ucrt-$DISTRO
|
NAME=llvm-mingw-$TAG-ucrt-$DISTRO
|
||||||
mv llvm-mingw $NAME
|
mv llvm-mingw $NAME
|
||||||
tar -Jcf ../$NAME.tar.xz $NAME
|
tar -Jcf ../$NAME.tar.xz $NAME
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: linux-ucrt-aarch64-toolchain
|
name: linux-ucrt-aarch64-toolchain
|
||||||
path: |
|
path: |
|
||||||
@@ -144,7 +144,7 @@ jobs:
|
|||||||
needs: [prepare]
|
needs: [prepare]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
||||||
@@ -158,7 +158,7 @@ jobs:
|
|||||||
.github/workflows/store-version.sh install/llvm-mingw/versions.txt
|
.github/workflows/store-version.sh install/llvm-mingw/versions.txt
|
||||||
cd install
|
cd install
|
||||||
tar -Jcf ../llvm-mingw-linux.tar.xz llvm-mingw
|
tar -Jcf ../llvm-mingw-linux.tar.xz llvm-mingw
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: linux-asserts-toolchain
|
name: linux-asserts-toolchain
|
||||||
path: |
|
path: |
|
||||||
@@ -171,7 +171,7 @@ jobs:
|
|||||||
needs: [prepare]
|
needs: [prepare]
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
||||||
@@ -190,7 +190,7 @@ jobs:
|
|||||||
NAME=llvm-mingw-$TAG-ucrt-macos-universal
|
NAME=llvm-mingw-$TAG-ucrt-macos-universal
|
||||||
mv llvm-mingw $NAME
|
mv llvm-mingw $NAME
|
||||||
tar -Jcf ../$NAME.tar.xz $NAME
|
tar -Jcf ../$NAME.tar.xz $NAME
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: macos-ucrt-toolchain
|
name: macos-ucrt-toolchain
|
||||||
path: |
|
path: |
|
||||||
@@ -227,7 +227,7 @@ jobs:
|
|||||||
toolchain:p
|
toolchain:p
|
||||||
cmake:p
|
cmake:p
|
||||||
ninja:p
|
ninja:p
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
||||||
@@ -242,7 +242,7 @@ jobs:
|
|||||||
NAME=llvm-mingw-$TAG-ucrt-msys2-${{matrix.sys}}
|
NAME=llvm-mingw-$TAG-ucrt-msys2-${{matrix.sys}}
|
||||||
mv llvm-mingw $NAME
|
mv llvm-mingw $NAME
|
||||||
tar -Jcf ../$NAME.tar.xz $NAME
|
tar -Jcf ../$NAME.tar.xz $NAME
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: msys2-${{matrix.sys}}-toolchain
|
name: msys2-${{matrix.sys}}-toolchain
|
||||||
path: |
|
path: |
|
||||||
@@ -265,7 +265,7 @@ jobs:
|
|||||||
- { arch: armv7, crt: ucrt }
|
- { arch: armv7, crt: ucrt }
|
||||||
- { arch: aarch64, crt: ucrt }
|
- { arch: aarch64, crt: ucrt }
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: linux-${{matrix.crt}}-x86_64-toolchain
|
name: linux-${{matrix.crt}}-x86_64-toolchain
|
||||||
- name: Unpack cross toolchain
|
- name: Unpack cross toolchain
|
||||||
@@ -274,7 +274,7 @@ jobs:
|
|||||||
rm llvm-mingw-*.tar.xz
|
rm llvm-mingw-*.tar.xz
|
||||||
sudo mv llvm-mingw* /opt/llvm-mingw
|
sudo mv llvm-mingw* /opt/llvm-mingw
|
||||||
echo /opt/llvm-mingw/bin >> $GITHUB_PATH
|
echo /opt/llvm-mingw/bin >> $GITHUB_PATH
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
||||||
@@ -289,7 +289,7 @@ jobs:
|
|||||||
NAME=llvm-mingw-$TAG-${{matrix.crt}}-${{matrix.arch}}
|
NAME=llvm-mingw-$TAG-${{matrix.crt}}-${{matrix.arch}}
|
||||||
mv llvm-mingw $NAME
|
mv llvm-mingw $NAME
|
||||||
zip -9rq ../$NAME.zip $NAME
|
zip -9rq ../$NAME.zip $NAME
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows-${{matrix.crt}}-${{matrix.arch}}-toolchain
|
name: windows-${{matrix.crt}}-${{matrix.arch}}-toolchain
|
||||||
path: |
|
path: |
|
||||||
@@ -318,7 +318,7 @@ jobs:
|
|||||||
install: >-
|
install: >-
|
||||||
unzip
|
unzip
|
||||||
make
|
make
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows-ucrt-${{matrix.arch}}-toolchain
|
name: windows-ucrt-${{matrix.arch}}-toolchain
|
||||||
- name: Unpack toolchain
|
- name: Unpack toolchain
|
||||||
@@ -327,7 +327,7 @@ jobs:
|
|||||||
rm llvm-mingw-*.zip
|
rm llvm-mingw-*.zip
|
||||||
mv llvm-mingw-* /llvm-mingw
|
mv llvm-mingw-* /llvm-mingw
|
||||||
echo /llvm-mingw/bin >> $GITHUB_PATH
|
echo /llvm-mingw/bin >> $GITHUB_PATH
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
./run-tests.sh /llvm-mingw
|
./run-tests.sh /llvm-mingw
|
||||||
@@ -358,7 +358,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
choco install ninja
|
choco install ninja
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows-ucrt-${{matrix.arch}}-toolchain
|
name: windows-ucrt-${{matrix.arch}}-toolchain
|
||||||
- name: Unpack toolchain
|
- name: Unpack toolchain
|
||||||
@@ -369,7 +369,7 @@ jobs:
|
|||||||
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Checkout llvm-project
|
- name: Checkout llvm-project
|
||||||
env:
|
env:
|
||||||
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
||||||
@@ -417,7 +417,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
choco install ninja
|
choco install ninja
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows-ucrt-${{matrix.arch}}-toolchain
|
name: windows-ucrt-${{matrix.arch}}-toolchain
|
||||||
- name: Unpack toolchain
|
- name: Unpack toolchain
|
||||||
@@ -428,7 +428,7 @@ jobs:
|
|||||||
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Checkout llvm-project
|
- name: Checkout llvm-project
|
||||||
env:
|
env:
|
||||||
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
||||||
@@ -481,7 +481,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
choco install ninja
|
choco install ninja
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows-ucrt-${{matrix.arch}}-toolchain
|
name: windows-ucrt-${{matrix.arch}}-toolchain
|
||||||
- name: Unpack toolchain
|
- name: Unpack toolchain
|
||||||
@@ -492,7 +492,7 @@ jobs:
|
|||||||
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Checkout llvm-project
|
- name: Checkout llvm-project
|
||||||
env:
|
env:
|
||||||
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
||||||
@@ -558,7 +558,7 @@ jobs:
|
|||||||
- armv7
|
- armv7
|
||||||
- aarch64
|
- aarch64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: linux-asserts-toolchain
|
name: linux-asserts-toolchain
|
||||||
- name: Unpack cross toolchain
|
- name: Unpack cross toolchain
|
||||||
@@ -568,7 +568,7 @@ jobs:
|
|||||||
sudo mv llvm-mingw* /opt/llvm-mingw
|
sudo mv llvm-mingw* /opt/llvm-mingw
|
||||||
echo /opt/llvm-mingw/bin >> $GITHUB_PATH
|
echo /opt/llvm-mingw/bin >> $GITHUB_PATH
|
||||||
- name: Checkout ffmpeg
|
- name: Checkout ffmpeg
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: ffmpeg/ffmpeg
|
repository: ffmpeg/ffmpeg
|
||||||
ref: n6.0
|
ref: n6.0
|
||||||
@@ -612,7 +612,7 @@ jobs:
|
|||||||
diffutils
|
diffutils
|
||||||
pacboy: >-
|
pacboy: >-
|
||||||
nasm:p
|
nasm:p
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows-ucrt-x86_64-toolchain
|
name: windows-ucrt-x86_64-toolchain
|
||||||
- name: Unpack toolchain
|
- name: Unpack toolchain
|
||||||
@@ -622,7 +622,7 @@ jobs:
|
|||||||
mv llvm-mingw-* /llvm-mingw
|
mv llvm-mingw-* /llvm-mingw
|
||||||
echo /llvm-mingw/bin >> $GITHUB_PATH
|
echo /llvm-mingw/bin >> $GITHUB_PATH
|
||||||
- name: Checkout ffmpeg
|
- name: Checkout ffmpeg
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: ffmpeg/ffmpeg
|
repository: ffmpeg/ffmpeg
|
||||||
ref: n6.0
|
ref: n6.0
|
||||||
@@ -645,7 +645,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download all artifacts
|
- name: Download all artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
- name: Rearrange files
|
- name: Rearrange files
|
||||||
run: |
|
run: |
|
||||||
rm -rf linux-asserts*
|
rm -rf linux-asserts*
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
TAG: ${{steps.get-parameters.outputs.TAG}}
|
TAG: ${{steps.get-parameters.outputs.TAG}}
|
||||||
steps:
|
steps:
|
||||||
- name: Download build parameters
|
- name: Download build parameters
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v3
|
||||||
with:
|
with:
|
||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
- { file: Dockerfile, maintag: latest, prefix: }
|
- { file: Dockerfile, maintag: latest, prefix: }
|
||||||
- { file: Dockerfile.dev, maintag: dev, prefix: dev- }
|
- { file: Dockerfile.dev, maintag: dev, prefix: dev- }
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ (inputs.commit != '' && inputs.commit) || inputs.branch }}
|
ref: ${{ (inputs.commit != '' && inputs.commit) || inputs.branch }}
|
||||||
- name: Log in to Docker Hub
|
- name: Log in to Docker Hub
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
TAG: ${{steps.get-parameters.outputs.TAG}}
|
TAG: ${{steps.get-parameters.outputs.TAG}}
|
||||||
steps:
|
steps:
|
||||||
- name: Download build parameters
|
- name: Download build parameters
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v3
|
||||||
with:
|
with:
|
||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
@@ -45,11 +45,11 @@ jobs:
|
|||||||
needs: [prepare]
|
needs: [prepare]
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ (inputs.commit != '' && inputs.commit) || inputs.branch }}
|
ref: ${{ (inputs.commit != '' && inputs.commit) || inputs.branch }}
|
||||||
- name: Download toolchain
|
- name: Download toolchain
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v3
|
||||||
with:
|
with:
|
||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
@@ -94,7 +94,7 @@ jobs:
|
|||||||
- { arch: i686, crt: msvcrt }
|
- { arch: i686, crt: msvcrt }
|
||||||
- { arch: x86_64, crt: msvcrt }
|
- { arch: x86_64, crt: msvcrt }
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: linux-${{matrix.crt}}-x86_64-toolchain
|
name: linux-${{matrix.crt}}-x86_64-toolchain
|
||||||
- name: Unpack cross toolchain
|
- name: Unpack cross toolchain
|
||||||
@@ -103,7 +103,7 @@ jobs:
|
|||||||
rm llvm-mingw-*.tar.xz
|
rm llvm-mingw-*.tar.xz
|
||||||
sudo mv llvm-mingw* /opt/llvm-mingw
|
sudo mv llvm-mingw* /opt/llvm-mingw
|
||||||
echo /opt/llvm-mingw/bin >> $GITHUB_PATH
|
echo /opt/llvm-mingw/bin >> $GITHUB_PATH
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ (inputs.commit != '' && inputs.commit) || inputs.branch }}
|
ref: ${{ (inputs.commit != '' && inputs.commit) || inputs.branch }}
|
||||||
- name: Build
|
- name: Build
|
||||||
@@ -148,7 +148,7 @@ jobs:
|
|||||||
install: >-
|
install: >-
|
||||||
unzip
|
unzip
|
||||||
make
|
make
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows-${{matrix.crt}}-${{matrix.arch}}-toolchain
|
name: windows-${{matrix.crt}}-${{matrix.arch}}-toolchain
|
||||||
- name: Unpack toolchain
|
- name: Unpack toolchain
|
||||||
@@ -157,7 +157,7 @@ jobs:
|
|||||||
rm llvm-mingw-*.zip
|
rm llvm-mingw-*.zip
|
||||||
mv llvm-mingw-* /llvm-mingw
|
mv llvm-mingw-* /llvm-mingw
|
||||||
echo /llvm-mingw/bin >> $GITHUB_PATH
|
echo /llvm-mingw/bin >> $GITHUB_PATH
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ (inputs.commit != '' && inputs.commit) || inputs.branch }}
|
ref: ${{ (inputs.commit != '' && inputs.commit) || inputs.branch }}
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
@@ -173,7 +173,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download all artifacts
|
- name: Download all artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
- name: Rearrange files
|
- name: Rearrange files
|
||||||
run: |
|
run: |
|
||||||
rm -rf linux-asserts*
|
rm -rf linux-asserts*
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v3
|
||||||
with:
|
with:
|
||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
- name: Set environment
|
- name: Set environment
|
||||||
run: |
|
run: |
|
||||||
cat parameters/parameters.txt >> $GITHUB_ENV
|
cat parameters/parameters.txt >> $GITHUB_ENV
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ (inputs.commit != '' && inputs.commit) || inputs.branch }}
|
ref: ${{ (inputs.commit != '' && inputs.commit) || inputs.branch }}
|
||||||
path: repo
|
path: repo
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
LLVM_VERSION: ${{steps.get-parameters.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{steps.get-parameters.outputs.LLVM_VERSION}}
|
||||||
steps:
|
steps:
|
||||||
- name: Download build parameters
|
- name: Download build parameters
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v3
|
||||||
with:
|
with:
|
||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
choco install ninja
|
choco install ninja
|
||||||
- name: Download toolchain
|
- name: Download toolchain
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v3
|
||||||
with:
|
with:
|
||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Checkout llvm-project
|
- name: Checkout llvm-project
|
||||||
env:
|
env:
|
||||||
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
LLVM_VERSION: ${{steps.get-parameters.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{steps.get-parameters.outputs.LLVM_VERSION}}
|
||||||
steps:
|
steps:
|
||||||
- name: Download build parameters
|
- name: Download build parameters
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v3
|
||||||
with:
|
with:
|
||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
choco install ninja
|
choco install ninja
|
||||||
- name: Download toolchain
|
- name: Download toolchain
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v3
|
||||||
with:
|
with:
|
||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
echo "c:\llvm-mingw\python\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
echo "PYTHON_EXE=c:/llvm-mingw/python/bin/python3.exe" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Checkout llvm-project
|
- name: Checkout llvm-project
|
||||||
env:
|
env:
|
||||||
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
LLVM_VERSION: ${{needs.prepare.outputs.LLVM_VERSION}}
|
||||||
|
|||||||
Reference in new issue
Block a user