Skip to content

Commit

Permalink
WIP release.yml action
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed Jul 17, 2024
1 parent 1c6f181 commit c5b7e61
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
jobs:
release:
strategy:
matrix:
os:
- macos
- ubuntu
- windows
os-versions:
macos: 12
ubuntu: 22.04
window: 2019
boost-version: 1.85.0
sfml-version: 2.6.1
configuration:
- Release
- Debug
runs-on: '${{ matrix.os }}-${{ matrix.os-versions[matrix.os] }}'
steps:
- name: checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Cache Boost
uses: actions/cache@v2
with:
path: '${{ runner.workspace }}/boost_*.tar.gz'
key: 'boost-${{ matrix.boost-version }}'
- name: Build Boost
id: boost
uses: egor-tensin/build-boost@v1
with:
version: ${{ matrix.boost-version }}
libraries: filesystem system
platform: x64
configuration: ${{ matrix.configuration }}
- name: Build SFML
id: sfml
uses: oprypin/install-sfml@v1
with:
sfml: ${{ matrix.sfml-version }}
config: ${{ matrix.configuration }}
- name: Windows build dependencies
run: 'vcpkg install libxml2 && pip install scons'
if: ${{ matrix.os == 'windows' }}
- name: Mac build dependencies
run: brew install scons
if: ${{ matrix.os == 'macos' }}
- name: Linux build dependencies
run: sudo apt-get update && sudo apt-get install scons libxml2-utils zlib1g zenity
if: ${{ matrix.os == 'ubuntu' }}
- name: Install TGUI
run: 'sudo ./.github/workflows/scripts/linux/install-tgui.sh'
if: ${{ matrix.os == 'ubuntu' }}

0 comments on commit c5b7e61

Please sign in to comment.