|
@@ -37,9 +37,8 @@ jobs:
|
|
|
shell: bash
|
|
|
run: |
|
|
|
python build-scripts/build-release.py \
|
|
|
- --create source \
|
|
|
+ --actions source \
|
|
|
--commit ${{ inputs.commit }} \
|
|
|
- --project SDL2 \
|
|
|
--root "${{ github.workspace }}/SDL" \
|
|
|
--github \
|
|
|
--debug
|
|
@@ -93,7 +92,7 @@ jobs:
|
|
|
- name: 'Set up Python'
|
|
|
uses: actions/setup-python@v5
|
|
|
with:
|
|
|
- python-version: '3.10'
|
|
|
+ python-version: '3.11'
|
|
|
- name: 'Fetch build-release.py'
|
|
|
uses: actions/checkout@v4
|
|
|
with:
|
|
@@ -114,9 +113,8 @@ jobs:
|
|
|
shell: bash
|
|
|
run: |
|
|
|
python build-scripts/build-release.py \
|
|
|
- --create framework \
|
|
|
+ --actions dmg \
|
|
|
--commit ${{ inputs.commit }} \
|
|
|
- --project SDL2 \
|
|
|
--root "${{ steps.tar.outputs.path }}" \
|
|
|
--github \
|
|
|
--debug
|
|
@@ -192,7 +190,7 @@ jobs:
|
|
|
- name: 'Set up Python'
|
|
|
uses: actions/setup-python@v5
|
|
|
with:
|
|
|
- python-version: '3.10'
|
|
|
+ python-version: '3.11'
|
|
|
- name: 'Fetch build-release.py'
|
|
|
uses: actions/checkout@v4
|
|
|
with:
|
|
@@ -213,9 +211,8 @@ jobs:
|
|
|
id: releaser
|
|
|
run: |
|
|
|
python build-scripts/build-release.py `
|
|
|
- --create win32 `
|
|
|
+ --actions msvc `
|
|
|
--commit ${{ inputs.commit }} `
|
|
|
- --project SDL2 `
|
|
|
--root "${{ steps.zip.outputs.path }}" `
|
|
|
--github `
|
|
|
--debug
|
|
@@ -310,7 +307,7 @@ jobs:
|
|
|
- name: 'Set up Python'
|
|
|
uses: actions/setup-python@v5
|
|
|
with:
|
|
|
- python-version: '3.10'
|
|
|
+ python-version: '3.11'
|
|
|
- name: 'Fetch build-release.py'
|
|
|
uses: actions/checkout@v4
|
|
|
with:
|
|
@@ -334,9 +331,8 @@ jobs:
|
|
|
id: releaser
|
|
|
run: |
|
|
|
python build-scripts/build-release.py \
|
|
|
- --create mingw \
|
|
|
+ --actions mingw \
|
|
|
--commit ${{ inputs.commit }} \
|
|
|
- --project SDL2 \
|
|
|
--root "${{ steps.tar.outputs.path }}" \
|
|
|
--github \
|
|
|
--debug
|
|
@@ -370,12 +366,13 @@ jobs:
|
|
|
mkdir -p /tmp/tardir
|
|
|
tar -C /tmp/tardir -v -x -f "${{ github.workspace }}/${{ needs.src.outputs.src-tar-gz }}"
|
|
|
echo "path=/tmp/tardir/${{ needs.src.outputs.project }}-${{ needs.src.outputs.version }}" >>$GITHUB_OUTPUT
|
|
|
- - name: 'Untar ${{ needs.mingw.outputs.mingw-devel-tar-gz }}'
|
|
|
+ - name: 'Untar and install ${{ needs.mingw.outputs.mingw-devel-tar-gz }}'
|
|
|
id: bin
|
|
|
run: |
|
|
|
mkdir -p /tmp/mingw-tardir
|
|
|
tar -C /tmp/mingw-tardir -v -x -f "${{ github.workspace }}/${{ needs.mingw.outputs.mingw-devel-tar-gz }}"
|
|
|
- echo "path=/tmp/mingw-tardir/${{ needs.src.outputs.project }}-${{ needs.src.outputs.version }}" >>$GITHUB_OUTPUT
|
|
|
+ make -C /tmp/mingw-tardir/${{ needs.src.outputs.project }}-${{ needs.src.outputs.version }} cross CROSS_PATH=/tmp/deps-mingw
|
|
|
+ echo "path=/tmp/deps-mingw" >>$GITHUB_OUTPUT
|
|
|
- name: 'CMake (configure + build) i686'
|
|
|
run: |
|
|
|
set -e
|