Skip to content

Commit

Permalink
update gha
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Sep 4, 2024
1 parent 3c3de9f commit 71c1365
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ jobs:
uses: rlespinasse/github-slug-action@v4.x

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: main

- name: Checkout gh-pages
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: '3.10'

- name: Install dependencies
run: |
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: Linux

on: [push]
on:
push:
pull_request:
schedule:
- cron: '0 0 1,15 * *' # JST 9:00 AM, 1st and 15th of every month


jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-20.04", "ubuntu-22.04"]
python-version: ["3.10"]
Expand All @@ -19,10 +25,10 @@ jobs:
compiler: "g++-12"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
name: macOS

on: [push]
on:
push:
pull_request:
schedule:
- cron: '0 0 1,15 * *' # JST 9:00 AM, 1st and 15th of every month

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-12, macos-11]
compiler: [c++, g++-12]
include:
- os: macos-12
compiler: g++-11
- os: macos-11
compiler: g++-10
os: [macos-14, macos-13]
compiler: [c++, g++-14, g++-12]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"

Expand Down

0 comments on commit 71c1365

Please sign in to comment.