mirror of https://github.com/zeldaret/botw.git
34 lines
753 B
YAML
34 lines
753 B
YAML
name: build
|
|
|
|
on:
|
|
# Trigger the workflow on push or pull request,
|
|
# but only for the master branch
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: [ubuntu-latest]
|
|
container:
|
|
image: leoetlino/botw-build:1.0.0
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: git submodule update --init --recursive
|
|
- run: mkdir build
|
|
- name: Run CMake
|
|
run: cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=../ToolchainNX64.cmake ..
|
|
working-directory: ./build
|
|
- name: Build
|
|
run: ninja -C build
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: build
|
|
path: |
|
|
build/uking
|
|
data/uking_functions.csv
|