diff --git a/.github/workflows/linux_build.yml b/.github/workflows/linux_build.yml new file mode 100644 index 0000000..f564c55 --- /dev/null +++ b/.github/workflows/linux_build.yml @@ -0,0 +1,19 @@ +name: Linux Compile + +on: + push: + branches: [ "*" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: sudo apt-get install cmake ninja-build libbz2-dev + - name: Build + run: | + cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Debug + cmake --build build-cmake -j \ No newline at end of file diff --git a/README.md b/README.md index 690f3cf..934503a 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,16 @@ A generic asset processor for N64 games ### Dependencies +#### Ubuntu ``` bash sudo apt-get install cmake ninja-build libbz2-dev ``` +#### Fedora +``` bash +sudo dnf install cmake ninja-build +``` + ### Compile ``` bash