Build dhewm3 64-bit #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build dhewm3 64-bit | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install build dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y git cmake build-essential libsdl2-dev libopenal-dev zlib1g-dev libcurl4-openssl-dev | |
- name: Clone dhewm3 repository | |
run: git clone https://github.com/dhewm/dhewm3.git | |
- name: Change to dhewm3 directory | |
run: cd dhewm3 | |
- name: Create build directory | |
run: mkdir build | |
- name: Change to build directory | |
run: cd build | |
- name: Configure with CMake | |
run: cmake .. | |
- name: Compile dhewm3 | |
run: make -j8 |