Browse Source

Merge branch 'master' into minor

Alex Szpakowski 5 years ago
parent
commit
97a97af99a
3 changed files with 64 additions and 19 deletions
  1. 51 0
      .github/workflows/main.yml
  2. 0 7
      bitbucket-pipelines.yml
  3. 13 12
      readme.md

+ 51 - 0
.github/workflows/main.yml

@@ -0,0 +1,51 @@
+name: continuous-integration
+on: [push, pull_request]
+
+jobs:
+  linux-os:
+    runs-on: ubuntu-latest
+    steps:
+    - name: Update APT
+      run: sudo apt-get update
+    - name: Install Dependencies
+      run: |
+        sudo apt-get install --assume-yes build-essential autotools-dev automake libtool pkg-config \
+                                          libfreetype6-dev libluajit-5.1-dev libsdl2-dev libopenal-dev \
+                                          libogg-dev libvorbis-dev libmodplug-dev libmpg123-dev libtheora-dev
+    - name: Checkout
+      uses: actions/checkout@v2
+    - name: Pre-Configure
+      run: $PWD/platform/unix/automagic
+    - name: Configure
+      run: mkdir build && cd build && ../configure
+    - name: Build
+      run: cd build && make -j2
+  windows-os:
+    runs-on: windows-latest
+    strategy:
+      matrix:
+        platform: [Win32, x64]
+    steps:
+    - name: Clone Megasource
+      uses: actions/checkout@v2
+      with:
+        path: megasource
+        repository: love2d/megasource
+        ref: master
+    - name: Checkout
+      uses: actions/checkout@v2
+      with:
+        path: megasource/libs/love
+    - name: Configure
+      shell: cmd
+      env:
+        PLATFORM: ${{ matrix.platform }}
+      run: cmake -Bbuild -Hmegasource -T v142 -A %PLATFORM% -DCMAKE_INSTALL_PREFIX=%CD%\install
+    - name: Install
+      shell: cmd
+      run: cmake --build build --config Release --target install
+    - name: Artifact
+      uses: actions/upload-artifact@v1
+      with:
+        name: love-windows-${{ matrix.platform }}
+        path: install

+ 0 - 7
bitbucket-pipelines.yml

@@ -1,7 +0,0 @@
-image: mfcula/love-cmake:v1
-pipelines:
-  default:
-    - step:
-        script:
-          - cmake -G"Ninja" -H. -Bout
-          - ninja -C out

+ 13 - 12
readme.md

@@ -1,6 +1,6 @@
 LÖVE is an *awesome* framework you can use to make 2D games in Lua. It's free, open-source, and works on Windows, Mac OS X, Linux, Android, and iOS.
 
-[![Build Status: Windows](https://ci.appveyor.com/api/projects/status/u1a69u5o5ej1pus4?svg=true)](https://ci.appveyor.com/project/AlexSzpakowski/love)
+[![Build Status: Windows](https://ci.appveyor.com/api/projects/status/chc0hdr08wv1d5c7?svg=true)](https://ci.appveyor.com/project/AlexSzpakowski/love)
 
 Documentation
 -------------
@@ -42,29 +42,29 @@ Visit the [Android build repository][android-repository] for build instructions.
 Repository information
 ----------------------
 
-We use the 'default' branch for development, and therefore it should not be considered stable.
-Also used is the 'minor' branch, which is used for features in the next minor version and it is
-not our development target (which would be the next revision - version numbers are formatted major.minor.revision.)
+We use the 'master' branch for patch development of the current major release, and therefore it should not be considered stable.
+There may also be a branch for the next major version in development, which is named after that version.
 
-We tag all our releases (since we started using mercurial), and have binary downloads available for them.
+We tag all our releases (since we started using mercurial and git), and have binary downloads available for them.
 
 Experimental changes are developed in the separate [love-experiments][love-experiments] repository.
 
 Contributing
 ------------
 
-The best places to contribute are through the Bitbucket issue tracker and the official Discord server or IRC channel.
+The best places to contribute are through the issue tracker and the official Discord server or IRC channel.
 For code contributions, pull requests and patches are welcome. Be sure to read the [source code style guide][codestyle].
 
 Builds
 ------
 
-Releases are found in the 'downloads' section on bitbucket, are linked on [the site][site],
+Releases are found in the [releases][releases] section on github, and are linked on [the site][site],
 and there's a ppa for ubuntu, [ppa:bartbes/love-stable][stableppa].
 
 There are also unstable/nightly builds:
 
-- Most can be found [here][builds].
+- Builds for some platforms are automatically created after each commit and are available through GitHub's CI interfaces.
+- Otherwise, some less frequently updated builds can can be found [here][builds].
 - For ubuntu linux they are in [ppa:bartbes/love-unstable][unstableppa]
 - For arch linux there's [love-hg][aur] in the AUR.
 
@@ -87,12 +87,13 @@ Dependencies
 [discord]: https://discord.gg/rhUets9
 [irc]: irc://irc.oftc.net/love
 [dependencies]: http://love2d.org/sdk
-[dependencies-ios]: https://bitbucket.org/rude/love/downloads/
-[megasource]: https://bitbucket.org/rude/megasource
+[dependencies-ios]: https://github.com/love2d/love/releases
+[megasource]: https://github.com/love2d/megasource
 [builds]: http://love2d.org/builds
 [stableppa]: https://launchpad.net/~bartbes/+archive/love-stable
 [unstableppa]: https://launchpad.net/~bartbes/+archive/love-unstable
 [aur]: http://aur.archlinux.org/packages/love-hg
-[love-experiments]: https://bitbucket.org/bartbes/love-experiments
+[love-experiments]: https://github.com/slime73/love-experiments
 [codestyle]: https://love2d.org/wiki/Code_Style
-[android-repository]: https://bitbucket.org/MartinFelis/love-android-sdl2
+[android-repository]: https://github.com/love2d/love-android
+[releases]: https://github.com/love2d/love/releases