Skip to content

Commit 0ed7d71

Browse files
committed
Build linux client in a ubuntu 18 docker image
1 parent 7b713ec commit 0ed7d71

File tree

1 file changed

+55
-1
lines changed

1 file changed

+55
-1
lines changed

.github/workflows/edopro.yml

+55-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build EDOPro
22
on: [push, pull_request]
33
env:
44
COVERS_URL: ${{ secrets.COVERS_URL }}
5-
DEPENDENCIES_BASE_URL: https://github.com/edo9300/edopro-vcpkg-cache/releases/download/20221005-2
5+
DEPENDENCIES_BASE_URL: https://github.com/edo9300/edopro-vcpkg-cache/releases/download/20221011
66
DEPLOY_DIR: deploy
77
DEPLOY_REPO: ${{ secrets.DEPLOY_REPO }}
88
DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
@@ -210,6 +210,60 @@ jobs:
210210
avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
211211
username: Github
212212

213+
Linux-docker-gcc-7-5-0:
214+
runs-on: ubuntu-latest
215+
container: ubuntu:18.04
216+
env:
217+
DEPLOY_BRANCH: travis-linux-docker-gcc7
218+
TRAVIS_OS_NAME: linux
219+
BUILD_CONFIG: release
220+
ARCH: x64
221+
steps:
222+
- name: Set custom env vars
223+
shell: bash
224+
run: |
225+
echo "VCPKG_ROOT=$PWD/vcpkg" >> $GITHUB_ENV
226+
echo "VCPKG_CACHE_7Z_URL=$DEPENDENCIES_BASE_URL/installed_x64-linux-docker-gcc7.7z" >> $GITHUB_ENV
227+
- name: Get apt packages
228+
shell: bash
229+
run: |
230+
apt update
231+
apt install sudo
232+
sudo apt remove libsqlite3-dev
233+
sudo apt install -y g++ build-essential curl p7zip-full p7zip-rar zip git
234+
- uses: actions/checkout@v1
235+
with:
236+
fetch-depth: 1
237+
- name: Install premake
238+
shell: bash
239+
run: ./travis/install-premake5.sh
240+
- name: Install dependencies
241+
shell: bash
242+
run: ./travis/dependencies.sh
243+
- name: Build
244+
shell: bash
245+
run: ./travis/build.sh
246+
- name: Predeploy
247+
shell: bash
248+
run: ./travis/predeploy.sh
249+
- name: Deploy
250+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
251+
shell: bash
252+
run: ./travis/deploy.sh
253+
- name: Log Failure
254+
uses: sarisia/actions-status-discord@v1
255+
if: failure()
256+
with:
257+
nodetail: true
258+
description: |
259+
[[${{ github.event.repository.name }}] ${{ github.job }} failed on ${{ github.ref }}](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})
260+
title: |
261+
262+
color: 0xff0000
263+
webhook: ${{ secrets.DISCORD_WEBHOOK }}
264+
avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
265+
username: Github
266+
213267
Linux-gcc-10-3-0:
214268
runs-on: ubuntu-latest
215269
env:

0 commit comments

Comments
 (0)