fix install prefix

This commit is contained in:
Nadia Holmquist Pedersen 2024-02-01 19:33:04 +01:00
parent 9976ed78b3
commit e4701768d5
1 changed files with 2 additions and 3 deletions

View File

@ -23,12 +23,11 @@ jobs:
sudo apt install --allow-downgrades cmake ninja-build extra-cmake-modules libpcap0.8-dev libsdl2-dev \ sudo apt install --allow-downgrades cmake ninja-build extra-cmake-modules libpcap0.8-dev libsdl2-dev \
qt6-{base,base-private,multimedia}-dev libslirp0 libslirp-dev libarchive-dev libzstd-dev --allow-downgrades qt6-{base,base-private,multimedia}-dev libslirp0 libslirp-dev libarchive-dev libzstd-dev --allow-downgrades
- name: Configure - name: Configure
run: cmake -B build -G Ninja -DUSE_QT6=ON -DCMAKE_INSTALL_PREFIX=/ run: cmake -B build -G Ninja -DUSE_QT6=ON -DCMAKE_INSTALL_PREFIX=./dist
- name: Build - name: Build
run: | run: |
cmake --build build cmake --build build
mkdir dist cmake --install build
DESTDIR="$PWD/dist" cmake --install build
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: melonDS-ubuntu-x86_64 name: melonDS-ubuntu-x86_64