Fix Github Action build

This fix github actions build issues since SDL migration to github.
This commit is contained in:
Mary 2021-03-29 20:06:42 +02:00
parent eb4e0cbe50
commit e2fb4179bd

View file

@ -7,11 +7,9 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install mercurial
run: brew install hg
- name: Check out SDL sources - name: Check out SDL sources
run: | run: |
hg clone https://hg.libsdl.org/SDL /tmp/SDL git clone --depth 1 --branch release-2.0.14 https://github.com/libsdl-org/SDL.git /tmp/SDL
- name: Build binaries - name: Build binaries
run: | run: |
cd /tmp/SDL cd /tmp/SDL
@ -27,6 +25,8 @@ jobs:
title: Update macOS SDL binaries title: Update macOS SDL binaries
body: This PR has been auto-generated to update the macOS SDL binaries. body: This PR has been auto-generated to update the macOS SDL binaries.
branch: update-macos-binaries branch: update-macos-binaries
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
build-linux: build-linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Check out SDL sources - name: Check out SDL sources
run: | run: |
hg clone https://hg.libsdl.org/SDL /tmp/SDL git clone --depth 1 --branch release-2.0.14 https://github.com/libsdl-org/SDL.git /tmp/SDL
- name: Build i386 binaries - name: Build i386 binaries
run: | run: |
mkdir /tmp/i386 mkdir /tmp/i386
@ -56,4 +56,5 @@ jobs:
title: Update Linux SDL binaries title: Update Linux SDL binaries
body: This PR has been auto-generated to update the Linux SDL binaries. body: This PR has been auto-generated to update the Linux SDL binaries.
branch: update-linux-binaries branch: update-linux-binaries
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'