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"
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
15
ci_script.sh
15
ci_script.sh
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue