Update CI actions (#2143)
This commit is contained in:
parent
5c36c690f9
commit
7aae68e34e
2
.github/workflows/cifuzz.yml
vendored
2
.github/workflows/cifuzz.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
fuzz-seconds: 600
|
fuzz-seconds: 600
|
||||||
dry-run: false
|
dry-run: false
|
||||||
- name: Upload Crash
|
- name: Upload Crash
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v3
|
||||||
if: failure() && steps.build.outcome == 'success'
|
if: failure() && steps.build.outcome == 'success'
|
||||||
with:
|
with:
|
||||||
name: artifacts
|
name: artifacts
|
||||||
|
|||||||
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
|
|||||||
@ -26,7 +26,7 @@ jobs:
|
|||||||
CMAKE_FLAGS: -DEXIV2_TEAM_EXTRA_WARNINGS=OFF -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_BUILD_UNIT_TESTS=OFF -DEXIV2_ENABLE_BMFF=ON -DEXIV2_TEAM_WARNINGS_AS_ERRORS=OFF -DEXIV2_ENABLE_PNG=ON -DCMAKE_INSTALL_PREFIX=install
|
CMAKE_FLAGS: -DEXIV2_TEAM_EXTRA_WARNINGS=OFF -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_BUILD_UNIT_TESTS=OFF -DEXIV2_ENABLE_BMFF=ON -DEXIV2_TEAM_WARNINGS_AS_ERRORS=OFF -DEXIV2_ENABLE_PNG=ON -DCMAKE_INSTALL_PREFIX=install
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: ./ci/install_dependencies.sh
|
run: ./ci/install_dependencies.sh
|
||||||
- name: build and compile
|
- name: build and compile
|
||||||
|
|||||||
2
.github/workflows/on_PR_linux_fuzz.yml
vendored
2
.github/workflows/on_PR_linux_fuzz.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo ./ci/install_dependencies.sh
|
sudo ./ci/install_dependencies.sh
|
||||||
|
|||||||
2
.github/workflows/on_PR_linux_matrix.yml
vendored
2
.github/workflows/on_PR_linux_matrix.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
shared_libraries: [ON, OFF]
|
shared_libraries: [ON, OFF]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
12
.github/workflows/on_PR_linux_special_builds.yml
vendored
12
.github/workflows/on_PR_linux_special_builds.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
# Trying to deal with warning: -> Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0
|
# Trying to deal with warning: -> Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0
|
||||||
@ -74,7 +74,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
@ -111,7 +111,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
@ -159,7 +159,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
@ -207,7 +207,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
# Trying to deal with warning: -> Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0
|
# Trying to deal with warning: -> Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0
|
||||||
@ -259,7 +259,7 @@ jobs:
|
|||||||
pvs-studio-analyzer analyze -l PVS_license.lic -o pvsStudio.log -j4
|
pvs-studio-analyzer analyze -l PVS_license.lic -o pvsStudio.log -j4
|
||||||
plog-converter -a GA:1,2 -d V1042 -t fullhtml pvsStudio.log -o pvsReportHtml
|
plog-converter -a GA:1,2 -d V1042 -t fullhtml pvsStudio.log -o pvsReportHtml
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: static_analysis
|
name: static_analysis
|
||||||
path: build/pvsReportHtml
|
path: build/pvsReportHtml
|
||||||
|
|||||||
2
.github/workflows/on_PR_mac_matrix.yml
vendored
2
.github/workflows/on_PR_mac_matrix.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
shared_libraries: [ON, OFF]
|
shared_libraries: [ON, OFF]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
8
.github/workflows/on_PR_windows_matrix.yml
vendored
8
.github/workflows/on_PR_windows_matrix.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
platform: [ x64, x86 ]
|
platform: [ x64, x86 ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Visual Studio shell
|
- name: Set up Visual Studio shell
|
||||||
uses: egor-tensin/vs-shell@v2
|
uses: egor-tensin/vs-shell@v2
|
||||||
@ -38,7 +38,7 @@ jobs:
|
|||||||
version: 1.10.0
|
version: 1.10.0
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
python-version: 3.7
|
python-version: 3.7
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ jobs:
|
|||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
uses: msys2/setup-msys2@v2
|
uses: msys2/setup-msys2@v2
|
||||||
@ -166,7 +166,7 @@ jobs:
|
|||||||
# Make sure we don't check out scripts using Windows CRLF line endings
|
# Make sure we don't check out scripts using Windows CRLF line endings
|
||||||
- run: git config --global core.autocrlf input
|
- run: git config --global core.autocrlf input
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Cygwin
|
- name: Set up Cygwin
|
||||||
uses: egor-tensin/setup-cygwin@v3
|
uses: egor-tensin/setup-cygwin@v3
|
||||||
|
|||||||
8
.github/workflows/on_push_BasicWinLinMac.yml
vendored
8
.github/workflows/on_push_BasicWinLinMac.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Ninja
|
- name: Setup Ninja
|
||||||
uses: ashutoshvarma/setup-ninja@master
|
uses: ashutoshvarma/setup-ninja@master
|
||||||
@ -29,7 +29,7 @@ jobs:
|
|||||||
arch: x64
|
arch: x64
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
python-version: 3.7
|
python-version: 3.7
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
@ -125,7 +125,7 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@ -15,7 +15,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
name: 'Build Linux Release'
|
name: 'Build Linux Release'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@ -45,7 +45,7 @@ jobs:
|
|||||||
cmake --build . -t package
|
cmake --build . -t package
|
||||||
tree -L 3
|
tree -L 3
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: exiv2-linux64
|
name: exiv2-linux64
|
||||||
path: ./build/exiv2-*.tar.gz
|
path: ./build/exiv2-*.tar.gz
|
||||||
@ -56,7 +56,7 @@ jobs:
|
|||||||
name: 'Build macOS Release'
|
name: 'Build macOS Release'
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@ -74,7 +74,7 @@ jobs:
|
|||||||
cmake --build . -t package
|
cmake --build . -t package
|
||||||
tree -L 3
|
tree -L 3
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: exiv2-macos
|
name: exiv2-macos
|
||||||
path: ./build/exiv2-*.tar.gz
|
path: ./build/exiv2-*.tar.gz
|
||||||
@ -85,7 +85,7 @@ jobs:
|
|||||||
name: 'Build Windows Release'
|
name: 'Build Windows Release'
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Visual Studio shell
|
- name: Set up Visual Studio shell
|
||||||
uses: egor-tensin/vs-shell@v2
|
uses: egor-tensin/vs-shell@v2
|
||||||
@ -96,7 +96,7 @@ jobs:
|
|||||||
version: 1.10.0
|
version: 1.10.0
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ jobs:
|
|||||||
cmake --build . -t package
|
cmake --build . -t package
|
||||||
tree -L 3
|
tree -L 3
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: exiv2-win
|
name: exiv2-win
|
||||||
path: ./build/exiv2-*.zip
|
path: ./build/exiv2-*.zip
|
||||||
@ -169,7 +169,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Cleanup old nightly
|
- name: Cleanup old nightly
|
||||||
if: env.TAG_NAME == 'nightly'
|
if: env.TAG_NAME == 'nightly'
|
||||||
uses: actions/github-script@v4
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
try{
|
try{
|
||||||
@ -202,11 +202,11 @@ jobs:
|
|||||||
console.log( "Failed with error\n", error);
|
console.log( "Failed with error\n", error);
|
||||||
}
|
}
|
||||||
|
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v3
|
||||||
- name: List downloaded files
|
- name: List downloaded files
|
||||||
run: tree -L 3
|
run: tree -L 3
|
||||||
|
|
||||||
- uses: softprops/action-gh-release@v0.1.8
|
- uses: softprops/action-gh-release@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user