diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fa2945f..13e76b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -94,15 +94,36 @@ package-ubuntu-sdl2: paths: - gsplus-ubuntu-sdl.tar.bz2 expire_in: 10 minutes + +package-ubuntu-sdl2-deb: + tags: + - ubuntu + stage: package + variables: + GIT_STRATEGY: fetch + PACKAGE_NAME: gsplus_$CI_BUILD_ID-0 + script: + - mkdir -p $PACKAGE_NAME/usr/local/bin + - mkdir -p $PACKAGE_NAME/DEBIAN + - cp gsplus $PACKAGE_NAME/usr/local/bin + - cp assets/control $PACKAGE_NAME/DEBIAN + - dpkg-dev --build $PACKAGE_NAME + artifacts: + paths: + - $PACKAGE_NAME + expire_in: 10 minutes + deploy-ubuntu: tags: - ubuntu stage: deploy variables: GIT_STRATEGY: none + PACKAGE_NAME: gsplus_$CI_BUILD_ID-0 + script: - aws s3 cp gsplus-ubuntu-sdl.tar.bz2 s3://$AWS_BUCKET/$CI_TAG/$CI_VERSION/$CI_PIPELINE_ID/ubuntu-sdl/$CI_BUILD_ID/ --acl public-read - + - aws s3 cp $PACKAGE_NAME s3://$AWS_BUCKET/$CI_TAG/$CI_VERSION/$CI_PIPELINE_ID/ubuntu-sdl-deb/$CI_BUILD_ID/ --acl public-read @@ -270,6 +291,7 @@ deploy-win-sdl2: update-website-universal: tags: - osx + - linux stage: updatewebsite variables: GIT_STRATEGY: none diff --git a/assets/control b/assets/control new file mode 100644 index 0000000..6f878f7 --- /dev/null +++ b/assets/control @@ -0,0 +1,10 @@ +Package: gsplus +Version: 0.14-0 +Section: base +Priority: optional +Architecture: amd64 +Depends: libsdl2-2.0-0, libfreetype6, libsdl2-image-2.0-0 +Maintainer: Dagen Brock +Description: GSplus + An Apple IIgs emulator for multiple platforms, + based on KEGS