Skip to content

Commit 432d24c

Browse files
committed
Switch to GitHub actions
1 parent 4df2cf5 commit 432d24c

File tree

4 files changed

+55
-41
lines changed

4 files changed

+55
-41
lines changed

.github/workflows/main.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: CI
2+
3+
on: [push, pull_request, workflow_dispatch]
4+
5+
jobs:
6+
appimage-x86_64:
7+
name: AppImage x86_64
8+
runs-on: ubuntu-16.04
9+
env:
10+
ARCH: x86_64
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Build AppImage
14+
run: bash -ex ci/build-appimage.sh
15+
- name: Archive artifacts
16+
uses: actions/upload-artifact@v2
17+
with:
18+
name: AppImage x86_64
19+
path: linuxdeploy-plugin-appimage*.AppImage*
20+
21+
appimage-i386:
22+
name: AppImage i386
23+
runs-on: ubuntu-16.04
24+
env:
25+
ARCH: i386
26+
steps:
27+
- uses: actions/checkout@v2
28+
- name: Install dependencies
29+
run: apt-get install -y g++-multilib libc6-dev:i386 libstdc++-5-dev:i386 zlib1g:i386 libfuse2:i386
30+
- name: Build AppImage
31+
run: bash -ex ci/build-appimage.sh
32+
- name: Archive artifacts
33+
uses: actions/upload-artifact@v2
34+
with:
35+
name: AppImage i386
36+
path: linuxdeploy-plugin-appimage*.AppImage*
37+
38+
upload:
39+
name: Create release and upload artifacts
40+
needs:
41+
- appimage-x86_64
42+
- appimage-i386
43+
runs-on: ubuntu-latest
44+
steps:
45+
- name: Download artifacts
46+
uses: actions/download-artifact@v2
47+
- name: Inspect directory after downloading artifacts
48+
run: ls -alFR
49+
- name: Create release and upload artifacts
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
run: |
53+
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
54+
chmod +x pyuploadtool-x86_64.AppImage
55+
./pyuploadtool-x86_64.AppImage **/linuxdeploy-plugin-appimage*.AppImage*

.travis.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

travis/entrypoint.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)