CI: Update actions to avoid warnings and Flatpak build error.
Some checks failed
CD / Cancel Previous Runs (push) Has been cancelled
CD / Test Ubuntu (push) Has been cancelled
CD / Test Windows (push) Has been cancelled
CD / Test macOS (push) Has been cancelled
CD / Build Release Windows (push) Has been cancelled
CD / Build Release Windows (OpenMP) (push) Has been cancelled
CD / Build Release macOS (push) Has been cancelled
CD / Upload Release Assets (push) Has been cancelled
Some checks failed
CD / Cancel Previous Runs (push) Has been cancelled
CD / Test Ubuntu (push) Has been cancelled
CD / Test Windows (push) Has been cancelled
CD / Test macOS (push) Has been cancelled
CD / Build Release Windows (push) Has been cancelled
CD / Build Release Windows (OpenMP) (push) Has been cancelled
CD / Build Release macOS (push) Has been cancelled
CD / Upload Release Assets (push) Has been cancelled
This commit is contained in:
parent
40a1fdc6af
commit
2afabadfa5
24
.github/workflows/cd.yml
vendored
24
.github/workflows/cd.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
actions: write
|
actions: write
|
||||||
steps:
|
steps:
|
||||||
- uses: styfle/cancel-workflow-action@0.9.1
|
- uses: styfle/cancel-workflow-action
|
||||||
with:
|
with:
|
||||||
access_token: ${{ github.token }}
|
access_token: ${{ github.token }}
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Test Ubuntu
|
name: Test Ubuntu
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: .github/scripts/install-ubuntu.sh
|
run: .github/scripts/install-ubuntu.sh
|
||||||
- name: Build & Test
|
- name: Build & Test
|
||||||
@ -35,7 +35,7 @@ jobs:
|
|||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
name: Test Windows
|
name: Test Windows
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: .github/scripts/install-windows.sh
|
run: .github/scripts/install-windows.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -48,7 +48,7 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
name: Test macOS
|
name: Test macOS
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: .github/scripts/install-macos.sh ci
|
run: .github/scripts/install-macos.sh ci
|
||||||
- name: Build & Test
|
- name: Build & Test
|
||||||
@ -59,7 +59,7 @@ jobs:
|
|||||||
name: Build Release Windows
|
name: Build Release Windows
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: .github/scripts/install-windows.sh
|
run: .github/scripts/install-windows.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -67,7 +67,7 @@ jobs:
|
|||||||
run: .github/scripts/build-windows.sh release
|
run: .github/scripts/build-windows.sh release
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows
|
name: windows
|
||||||
path: build/bin/RelWithDebInfo/solvespace.exe
|
path: build/bin/RelWithDebInfo/solvespace.exe
|
||||||
@ -77,7 +77,7 @@ jobs:
|
|||||||
name: Build Release Windows (OpenMP)
|
name: Build Release Windows (OpenMP)
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: .github/scripts/install-windows.sh
|
run: .github/scripts/install-windows.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -85,7 +85,7 @@ jobs:
|
|||||||
run: .github/scripts/build-windows.sh release openmp
|
run: .github/scripts/build-windows.sh release openmp
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows-openmp
|
name: windows-openmp
|
||||||
path: build/bin/RelWithDebInfo/solvespace-openmp.exe
|
path: build/bin/RelWithDebInfo/solvespace-openmp.exe
|
||||||
@ -95,7 +95,7 @@ jobs:
|
|||||||
name: Build Release macOS
|
name: Build Release macOS
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: .github/scripts/install-macos.sh ci
|
run: .github/scripts/install-macos.sh ci
|
||||||
- name: Build & Test
|
- name: Build & Test
|
||||||
@ -109,7 +109,7 @@ jobs:
|
|||||||
MACOS_APPSTORE_USERNAME: ${{ secrets.MACOS_APPSTORE_USERNAME }}
|
MACOS_APPSTORE_USERNAME: ${{ secrets.MACOS_APPSTORE_USERNAME }}
|
||||||
MACOS_DEVELOPER_ID: ${{ secrets.MACOS_DEVELOPER_ID }}
|
MACOS_DEVELOPER_ID: ${{ secrets.MACOS_DEVELOPER_ID }}
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: macos
|
name: macos
|
||||||
path: build/bin/SolveSpace.dmg
|
path: build/bin/SolveSpace.dmg
|
||||||
@ -119,7 +119,7 @@ jobs:
|
|||||||
# name: Deploy AMD64 Snap
|
# name: Deploy AMD64 Snap
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v2
|
# - uses: actions/checkout@v4
|
||||||
# - name: Fetch Tags
|
# - name: Fetch Tags
|
||||||
# run: git fetch --force --tags
|
# run: git fetch --force --tags
|
||||||
# - name: Set Up Source
|
# - name: Set Up Source
|
||||||
@ -152,7 +152,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download All Workflow Artifacts
|
- name: Download All Workflow Artifacts
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v4
|
||||||
- name: Get Release Upload URL
|
- name: Get Release Upload URL
|
||||||
id: get_upload_url
|
id: get_upload_url
|
||||||
env:
|
env:
|
||||||
|
2
.github/workflows/source-tarball.yml
vendored
2
.github/workflows/source-tarball.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
name: Create & Upload Tarball
|
name: Create & Upload Tarball
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Test Ubuntu
|
name: Test Ubuntu
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: .github/scripts/install-ubuntu.sh
|
run: .github/scripts/install-ubuntu.sh
|
||||||
- name: Build & Test
|
- name: Build & Test
|
||||||
@ -25,7 +25,7 @@ jobs:
|
|||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
name: Test Windows
|
name: Test Windows
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: .github/scripts/install-windows.sh
|
run: .github/scripts/install-windows.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -37,7 +37,7 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
name: Test macOS
|
name: Test macOS
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: .github/scripts/install-macos.sh ci
|
run: .github/scripts/install-macos.sh ci
|
||||||
- name: Build & Test
|
- name: Build & Test
|
||||||
@ -50,11 +50,11 @@ jobs:
|
|||||||
image: bilelmoussaoui/flatpak-github-actions:freedesktop-21.08
|
image: bilelmoussaoui/flatpak-github-actions:freedesktop-21.08
|
||||||
options: --privileged
|
options: --privileged
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
|
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||||
with:
|
with:
|
||||||
bundle: "solvespace.flatpak"
|
bundle: "solvespace.flatpak"
|
||||||
manifest-path: "pkg/flatpak/com.solvespace.SolveSpace.json"
|
manifest-path: "pkg/flatpak/com.solvespace.SolveSpace.json"
|
||||||
|
Loading…
Reference in New Issue
Block a user