fix(ci): attempt using absolute paths
This commit is contained in:
parent
cdd9bccbb5
commit
2decd0f2cb
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
@ -12,7 +12,6 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
WX_WIDGETS_BUILD_OUT_DIR: "wx-widgets-build"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -22,6 +21,9 @@ jobs:
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
env:
|
||||||
|
WX_WIDGETS_BUILD_OUT_DIR: "${{GITHUB_WORKSPACE}}/wx-widgets-build"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: Swatinem/rust-cache@v1
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
@ -43,7 +45,7 @@ jobs:
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
wx-widgets-build/
|
${{WX_WIDGETS_BUILD_OUT_DIR}}
|
||||||
key: ${{ runner.os }}-${{ hashFiles('espanso-modulo/build.rs') }}-${{ hashFiles('espanso-modulo/vendor/*') }}
|
key: ${{ runner.os }}-${{ hashFiles('espanso-modulo/build.rs') }}-${{ hashFiles('espanso-modulo/vendor/*') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
@ -62,6 +64,9 @@ jobs:
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
env:
|
||||||
|
WX_WIDGETS_BUILD_OUT_DIR: "${{GITHUB_WORKSPACE}}/wx-widgets-build"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: Swatinem/rust-cache@v1
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
@ -83,7 +88,7 @@ jobs:
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
wx-widgets-build/
|
${{WX_WIDGETS_BUILD_OUT_DIR}}
|
||||||
key: ${{ runner.os }}-${{ hashFiles('espanso-modulo/build.rs') }}-${{ hashFiles('espanso-modulo/vendor/*') }}
|
key: ${{ runner.os }}-${{ hashFiles('espanso-modulo/build.rs') }}-${{ hashFiles('espanso-modulo/vendor/*') }}
|
||||||
- name: Run test suite
|
- name: Run test suite
|
||||||
run: cargo make test-binary
|
run: cargo make test-binary
|
||||||
|
@ -134,6 +139,8 @@ jobs:
|
||||||
|
|
||||||
build-macos-arm:
|
build-macos-arm:
|
||||||
runs-on: macos-11
|
runs-on: macos-11
|
||||||
|
env:
|
||||||
|
WX_WIDGETS_BUILD_OUT_DIR: "${{GITHUB_WORKSPACE}}/wx-widgets-build"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: Swatinem/rust-cache@v1
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
@ -148,7 +155,7 @@ jobs:
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
wx-widgets-build/
|
${{WX_WIDGETS_BUILD_OUT_DIR}}
|
||||||
key: ${{ runner.os }}-${{ hashFiles('espanso-modulo/build.rs') }}-${{ hashFiles('espanso-modulo/vendor/*') }}
|
key: ${{ runner.os }}-${{ hashFiles('espanso-modulo/build.rs') }}-${{ hashFiles('espanso-modulo/vendor/*') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user