Run flatpak job directly on container
This commit is contained in:
parent
b5c850fe8f
commit
2a0638120f
1 changed files with 6 additions and 12 deletions
18
.github/workflows/ci-main.yml
vendored
18
.github/workflows/ci-main.yml
vendored
|
@ -164,7 +164,10 @@ jobs:
|
|||
~/wesnoth-*-win64.exe
|
||||
|
||||
flatpak:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: wesnoth/wesnoth:flatpak-master
|
||||
options: --tty --cap-add=ALL --privileged # docker create options
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -173,17 +176,8 @@ jobs:
|
|||
|
||||
- name: Flatpak
|
||||
run: |
|
||||
export BRANCH=master
|
||||
export IMAGE=flatpak
|
||||
export NLS=false
|
||||
export TOOL=scons
|
||||
export CC=gcc
|
||||
export CXX=g++
|
||||
export CXX_STD=17
|
||||
export CFG=release
|
||||
export LTO=false
|
||||
export CLICOLOR_FORCE=1
|
||||
./.github/workflows/ci-scripts/ubuntu.sh
|
||||
jq '.modules |= map(select(.name == "wesnoth").sources[0]+={"path":"."}) | ."build-options".env.FLATPAK_BUILDER_N_JOBS="2"' packaging/flatpak/org.wesnoth.Wesnoth.json > org.wesnoth.Wesnoth.json
|
||||
flatpak-builder --force-clean --disable-rofiles-fuse wesnoth-app org.wesnoth.Wesnoth.json
|
||||
|
||||
translations:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Add table
Reference in a new issue