Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: lootinator-release-build

on: [push]

jobs:
linux:
name: build/release/linux
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: setup
run: |
sudo apt update
- name: build
run: |
mkdir build && cd build && cmake ..
make -B -j8
- uses: actions/upload-artifact@v4
with:
name: lootinator-cli-linux
path: ./build/cli/lootinator-cli
windows:
name: build/release/windows
runs-on: [windows-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: build
run: |
cmake -S . -B build
cmake --build build --config Release
- uses: actions/upload-artifact@v4
with:
name: lootinator-cli-windows.exe
path: .\build\cli\Release\lootinator-cli.exe
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.10)
cmake_minimum_required(VERSION 3.11`)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

Expand Down
Loading