mirror of
https://github.com/redstrate/Auracite.git
synced 2025-04-25 13:57:45 +00:00
Maybe try to fix the KDE_ variables
This commit is contained in:
parent
00fbfe306c
commit
8f8a3b8fae
1 changed files with 18 additions and 2 deletions
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
|
@ -38,13 +38,19 @@ jobs:
|
||||||
sudo apt-get install \
|
sudo apt-get install \
|
||||||
gettext \
|
gettext \
|
||||||
gperf \
|
gperf \
|
||||||
libwayland-dev \
|
libwayland-dev
|
||||||
- name: Set reusable strings
|
- name: Set reusable strings
|
||||||
id: strings
|
id: strings
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
|
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
|
||||||
echo "prefix-dir=${{ github.workspace }}/prefix" >> "$GITHUB_OUTPUT"
|
echo "prefix-dir=${{ github.workspace }}/prefix" >> "$GITHUB_OUTPUT"
|
||||||
|
- name: Cache Prefix
|
||||||
|
id: cache-prefix-restore
|
||||||
|
uses: actions/cache/restore@v4
|
||||||
|
with:
|
||||||
|
path: ${{ steps.strings.outputs.prefix-dir }}
|
||||||
|
key: ${{ runner.os }}-prefix
|
||||||
- name: Build Extra CMake Modules
|
- name: Build Extra CMake Modules
|
||||||
if: steps.cache-prefix-restore.outputs.cache-hit != 'true'
|
if: steps.cache-prefix-restore.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
|
@ -67,7 +73,17 @@ jobs:
|
||||||
git clone https://invent.kde.org/frameworks/kcoreaddons.git
|
git clone https://invent.kde.org/frameworks/kcoreaddons.git
|
||||||
cmake -B ${{ steps.strings.outputs.build-output-dir }}-kca -DCMAKE_PREFIX_PATH=${{ steps.strings.outputs.prefix-dir }} -S kcoreaddons -DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.prefix-dir }} -DBUILD_TESTING=OFF
|
cmake -B ${{ steps.strings.outputs.build-output-dir }}-kca -DCMAKE_PREFIX_PATH=${{ steps.strings.outputs.prefix-dir }} -S kcoreaddons -DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.prefix-dir }} -DBUILD_TESTING=OFF
|
||||||
cmake --build ${{ steps.strings.outputs.build-output-dir }}-kca --target install
|
cmake --build ${{ steps.strings.outputs.build-output-dir }}-kca --target install
|
||||||
|
- name: Save Prefix
|
||||||
|
id: cache-prefix-save
|
||||||
|
uses: actions/cache/save@v4
|
||||||
|
if: steps.cache-prefix-restore.outputs.cache-hit != 'true'
|
||||||
|
with:
|
||||||
|
path: ${{ steps.strings.outputs.prefix-dir }}
|
||||||
|
key: ${{ steps.cache-prefix-restore.outputs.cache-primary-key }}
|
||||||
- name: Build
|
- name: Build
|
||||||
run: KDE_INCLUDEDIR=${{ steps.strings.outputs.prefix-dir }}/include KDE_LIBDIR=${{ steps.strings.outputs.prefix-dir }}/lib64 cargo build --verbose
|
run: |
|
||||||
|
export KDE_INCLUDEDIR=${{ steps.strings.outputs.prefix-dir }}/include
|
||||||
|
export KDE_LIBDIR=${{ steps.strings.outputs.prefix-dir }}/lib64
|
||||||
|
cargo build --verbose
|
||||||
- name: Run clippy
|
- name: Run clippy
|
||||||
run: cargo clippy
|
run: cargo clippy
|
||||||
|
|
Loading…
Add table
Reference in a new issue