OSDN Git Service

Merge branch 'master' of https://github.com/hengband/hengband
[hengbandforosx/hengbandosx.git] / .github / workflows / create-cache-for-ccache.yml
1 name: Create Cache for ccache
2
3 on:
4   push:
5     branches:
6       - develop
7
8   # 手動トリガーを許可
9   workflow_dispatch:
10
11 jobs:
12   clang_without_pch_japanese:
13     name: Japanese version with clang (without using pre-compiled headers)
14     uses: ./.github/workflows/build-with-autotools.yml
15     with:
16       runner: ubuntu-22.04
17       cxx: clang++-14
18       cxx-flags: "-pipe -O3 -Werror -Wall -Wextra -Wno-unused-const-variable -Wno-invalid-source-encoding -stdlib=libc++"
19       configure-opts: "--disable-pch"
20       use-ccache: true
21
22   gcc_japanese:
23     name: Japanese version with gcc
24     uses: ./.github/workflows/build-with-autotools.yml
25     with:
26       runner: ubuntu-24.04
27       cxx: g++-13
28       cxx-flags: "-pipe -O3 -Werror -Wall -Wextra"
29       use-ccache: true
30
31   gcc_english:
32     name: English version with gcc
33     uses: ./.github/workflows/build-with-autotools.yml
34     with:
35       runner: ubuntu-24.04
36       cxx: g++-13
37       cxx-flags: "-pipe -O3 -Werror -Wall -Wextra"
38       configure-opts: "--disable-japanese"
39       distcheck: true
40       use-ccache: true