Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
needs:
- pre-commit
uses: ./.github/workflows/ubuntu.yml
with:
is_nightly: ${{ github.event_name == 'schedule' }}
mac:
needs:
- pre-commit
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Ubuntu

on:
workflow_call:
inputs:
is_nightly:
description: 'Is nightly CI run'
required: false
type: boolean
default: false

permissions:
contents: read
Expand All @@ -17,7 +23,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
os: ${{ fromJSON(inputs.is_nightly && '["ubuntu-24.04","ubuntu-24.04-arm"]' || '["ubuntu-24.04"]') }}
build_type: [Release, Debug]
steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -71,7 +77,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
os: ${{ fromJSON(inputs.is_nightly && '["ubuntu-24.04","ubuntu-24.04-arm"]' || '["ubuntu-24.04"]') }}
steps:
- uses: actions/checkout@v6
- name: Download installed package
Expand Down Expand Up @@ -103,7 +109,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
os: ${{ fromJSON(inputs.is_nightly && '["ubuntu-24.04","ubuntu-24.04-arm"]' || '["ubuntu-24.04"]') }}
steps:
- uses: actions/checkout@v6
- name: Download installed package
Expand All @@ -127,7 +133,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
os: ${{ fromJSON(inputs.is_nightly && '["ubuntu-24.04","ubuntu-24.04-arm"]' || '["ubuntu-24.04"]') }}
steps:
- uses: actions/checkout@v6
with:
Expand Down Expand Up @@ -172,7 +178,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
os: ${{ fromJSON(inputs.is_nightly && '["ubuntu-24.04","ubuntu-24.04-arm"]' || '["ubuntu-24.04"]') }}
steps:
- uses: actions/checkout@v6
- name: Download installed package
Expand Down Expand Up @@ -204,7 +210,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
os: ${{ fromJSON(inputs.is_nightly && '["ubuntu-24.04","ubuntu-24.04-arm"]' || '["ubuntu-24.04"]') }}
steps:
- uses: actions/checkout@v6
- name: Download installed package
Expand Down
Loading