Compare commits
5 Commits
75b486c928
...
9bbcba2833
Author | SHA1 | Date |
---|---|---|
HybridDog | 9bbcba2833 | |
HybridDog | a02f83c70a | |
HybridDog | a6ff5aed94 | |
HybridDog | 8b12eac38e | |
HybridDog | e2d5d00319 |
|
@ -43,20 +43,20 @@ jobs:
|
||||||
name: "executable"
|
name: "executable"
|
||||||
path: upload/firstci/bin/png_percept_down
|
path: upload/firstci/bin/png_percept_down
|
||||||
|
|
||||||
upload:
|
#~ upload:
|
||||||
name: Make Release and upload Artifacts
|
#~ name: Make Release and upload Artifacts
|
||||||
needs:
|
#~ needs:
|
||||||
- build
|
#~ - build
|
||||||
runs-on: ubuntu-20.04
|
#~ runs-on: ubuntu-20.04
|
||||||
steps:
|
#~ steps:
|
||||||
- uses: actions/download-artifact@v2
|
#~ - uses: actions/download-artifact@v2
|
||||||
- name: Show artifact files
|
#~ - name: Show artifact files
|
||||||
run: |
|
#~ run: |
|
||||||
ls -alFR
|
#~ ls -alFR
|
||||||
- name: Make Release and upload Artifacts
|
#~ - name: Make Release and upload Artifacts
|
||||||
env:
|
#~ env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
#~ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
#~ run: |
|
||||||
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
|
#~ wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
|
||||||
chmod +x pyuploadtool-x86_64.AppImage
|
#~ chmod +x pyuploadtool-x86_64.AppImage
|
||||||
./pyuploadtool-x86_64.AppImage **/png_percept_down
|
#~ ./pyuploadtool-x86_64.AppImage **/png_percept_down
|
||||||
|
|
|
@ -12,10 +12,14 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: build_schismtracker_appimage
|
- name: Download Schism Tracker and its dependencies
|
||||||
run: |
|
run: |
|
||||||
source ci_script.sh
|
source ci_script.sh
|
||||||
download_schismtracker_and_depends
|
download_schismtracker_and_depends
|
||||||
|
|
||||||
|
- name: Build a Schism Tracker AppImage
|
||||||
|
run: |
|
||||||
|
source ci_script.sh
|
||||||
build_schismtracker_appimage
|
build_schismtracker_appimage
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
|
|
15
ci_script.sh
15
ci_script.sh
|
@ -5,17 +5,16 @@ download_schismtracker_and_depends() {
|
||||||
# Download SchismTracker
|
# Download SchismTracker
|
||||||
git clone --depth=1 https://github.com/schismtracker/schismtracker.git
|
git clone --depth=1 https://github.com/schismtracker/schismtracker.git
|
||||||
# Install dependencies with apt
|
# Install dependencies with apt
|
||||||
apt-get install build-essential automake autoconf autoconf-archive \
|
#~ sudo apt-get install build-essential automake autoconf autoconf-archive \
|
||||||
libx11-dev libxext-dev libxv-dev libxxf86misc-dev \
|
#~ libx11-dev libxext-dev libxv-dev \
|
||||||
libxxf86vm-dev libsdl1.2-dev libasound2-dev mercurial \
|
#~ libxxf86vm-dev libsdl1.2-dev libasound2-dev mercurial \
|
||||||
libtool
|
#~ libtool
|
||||||
|
sudo apt-get install build-essential automake autoconf \
|
||||||
|
libsdl1.2-dev
|
||||||
}
|
}
|
||||||
|
|
||||||
build_schismtracker_appimage() {
|
build_schismtracker_appimage() {
|
||||||
cd schismtracker
|
cd schismtracker
|
||||||
# Download linuxdeploy
|
|
||||||
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
|
|
||||||
chmod +x linuxdeploy-x86_64.AppImage
|
|
||||||
|
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
mkdir -p build_appimage && cd build_appimage
|
mkdir -p build_appimage && cd build_appimage
|
||||||
|
@ -30,6 +29,8 @@ build_schismtracker_appimage() {
|
||||||
sed -i '/\[Desktop Action Render WAV\]/,$ s:^:# :' ./AppDir/usr/share/applications/schism.desktop
|
sed -i '/\[Desktop Action Render WAV\]/,$ s:^:# :' ./AppDir/usr/share/applications/schism.desktop
|
||||||
|
|
||||||
# Create the AppImage with linuxdeploy
|
# Create the AppImage with linuxdeploy
|
||||||
|
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
|
||||||
|
chmod +x linuxdeploy-x86_64.AppImage
|
||||||
export NO_APPSTREAM=1
|
export NO_APPSTREAM=1
|
||||||
./linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage
|
./linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage
|
||||||
# Update Information:
|
# Update Information:
|
||||||
|
|
Loading…
Reference in New Issue