imgui
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -10,17 +10,17 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -y build-essential libsdl2-dev libfmt-dev qt5-default git
|
||||
sudo apt-get install -y build-essential libsdl2-dev libvulkan-dev libfmt-dev git
|
||||
- name: Build natsukashii
|
||||
run: |
|
||||
cd src
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=Release
|
||||
cd build
|
||||
make -j$(nproc)
|
||||
- name: Collect artifacts
|
||||
run: |
|
||||
mkdir upload
|
||||
cp build/bin/qt/natsukashii-qt upload
|
||||
cp build/bin/sdl/natsukashii-sdl upload
|
||||
cp build/natsukashii upload
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
@@ -38,9 +38,10 @@ jobs:
|
||||
submodules: recursive
|
||||
- uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
install: make git mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-SDL2 mingw-w64-x86_64-qt5-static mingw-w64-x86_64-fmt
|
||||
install: make git mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-SDL2 mingw-w64-x86_64-vulkan-devel mingw-w64-x86_64-fmt
|
||||
- name: Build natsukashii
|
||||
run: |
|
||||
cd src
|
||||
cmake \
|
||||
-G"Unix Makefiles" \
|
||||
-B build \
|
||||
@@ -51,8 +52,7 @@ jobs:
|
||||
- name: Collect artifacts
|
||||
run: |
|
||||
mkdir upload
|
||||
cp build/bin/qt/natsukashii-qt upload
|
||||
cp build/bin/sdl/natsukashii-sdl upload
|
||||
cp build/natsukashii upload
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user