mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-06-06 13:02:57 +00:00
rename build-linux jobs, cache .git folder
This commit is contained in:
parent
c53e1e5905
commit
5ad4b4c15f
18
.github/workflows/build-linux.yml
vendored
18
.github/workflows/build-linux.yml
vendored
|
|
@ -36,6 +36,13 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Cache .git folder
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: .git
|
||||
key: ${{ runner.os }}-git-${{ github.sha }}
|
||||
restore-keys: ${{ runner.os }}-git-
|
||||
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
|
@ -48,7 +55,7 @@ jobs:
|
|||
with:
|
||||
ccache_dir: ${{ runner.temp }}/ccache
|
||||
|
||||
- name: Build meson (release)
|
||||
- name: Compile
|
||||
uses: ./.github/actions/build-meson
|
||||
with:
|
||||
dir_name: "build_release"
|
||||
|
|
@ -58,6 +65,13 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Cache .git folder
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: .git
|
||||
key: ${{ runner.os }}-git-${{ github.sha }}
|
||||
restore-keys: ${{ runner.os }}-git-
|
||||
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
|
@ -70,7 +84,7 @@ jobs:
|
|||
with:
|
||||
ccache_dir: ${{ runner.temp }}/ccache
|
||||
|
||||
- name: Build meson (debug)
|
||||
- name: Compile
|
||||
uses: ./.github/actions/build-meson
|
||||
with:
|
||||
dir_name: "build_debug"
|
||||
|
|
|
|||
Loading…
Reference in a new issue