Compare commits

...

5 Commits

Author SHA1 Message Date
HybridDog 9bbcba2833 disable the old upload 2021-11-08 17:37:59 +01:00
HybridDog a02f83c70a try less packages 2021-11-08 17:33:56 +01:00
HybridDog a6ff5aed94 change workflow 2021-11-08 17:32:20 +01:00
HybridDog 8b12eac38e remove an apt package 2021-11-08 17:29:14 +01:00
HybridDog e2d5d00319 change workflow 2021-11-08 17:26:43 +01:00
3 changed files with 30 additions and 25 deletions

View File

@ -43,20 +43,20 @@ jobs:
name: "executable"
path: upload/firstci/bin/png_percept_down
upload:
name: Make Release and upload Artifacts
needs:
- build
runs-on: ubuntu-20.04
steps:
- uses: actions/download-artifact@v2
- name: Show artifact files
run: |
ls -alFR
- name: Make Release and upload Artifacts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
chmod +x pyuploadtool-x86_64.AppImage
./pyuploadtool-x86_64.AppImage **/png_percept_down
#~ upload:
#~ name: Make Release and upload Artifacts
#~ needs:
#~ - build
#~ runs-on: ubuntu-20.04
#~ steps:
#~ - uses: actions/download-artifact@v2
#~ - name: Show artifact files
#~ run: |
#~ ls -alFR
#~ - name: Make Release and upload Artifacts
#~ env:
#~ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#~ run: |
#~ wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
#~ chmod +x pyuploadtool-x86_64.AppImage
#~ ./pyuploadtool-x86_64.AppImage **/png_percept_down

View File

@ -12,10 +12,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: build_schismtracker_appimage
- name: Download Schism Tracker and its dependencies
run: |
source ci_script.sh
download_schismtracker_and_depends
- name: Build a Schism Tracker AppImage
run: |
source ci_script.sh
build_schismtracker_appimage
- uses: actions/upload-artifact@v2

View File

@ -5,17 +5,16 @@ download_schismtracker_and_depends() {
# Download SchismTracker
git clone --depth=1 https://github.com/schismtracker/schismtracker.git
# Install dependencies with apt
apt-get install build-essential automake autoconf autoconf-archive \
libx11-dev libxext-dev libxv-dev libxxf86misc-dev \
libxxf86vm-dev libsdl1.2-dev libasound2-dev mercurial \
libtool
#~ sudo apt-get install build-essential automake autoconf autoconf-archive \
#~ libx11-dev libxext-dev libxv-dev \
#~ libxxf86vm-dev libsdl1.2-dev libasound2-dev mercurial \
#~ libtool
sudo apt-get install build-essential automake autoconf \
libsdl1.2-dev
}
build_schismtracker_appimage() {
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
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
# 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
./linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage
# Update Information: