diff --git a/.github/workflows/rust.yml b/.github/workflows/ci.yml similarity index 97% rename from .github/workflows/rust.yml rename to .github/workflows/ci.yml index 2c5e07aa..2ad6cf92 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Rust +name: CI on: [push] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..5d42f5cf --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,41 @@ +name: Release + +on: + release: + types: [created] + +jobs: + windows: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v1 + + - name: Build release binary + run: cargo build --verbose --locked --release + + - name: Upload artifacts + uses: actions/upload-artifact@v1 + with: + name: rojo-win64 + path: target/release/rojo.exe + + macos: + runs-on: macos-latest + + steps: + - uses: actions/checkout@v1 + + - name: Install Rust + run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + + - name: Build release binary + run: | + source $HOME/.cargo/env + cargo build --verbose --locked --release + + - name: Upload artifacts + uses: actions/upload-artifact@v1 + with: + name: rojo-macos + path: target/release/rojo \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index d37159cd..8a30fe0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ matrix: include: - language: rust - rust: 1.34.0 + rust: 1.36.0 cache: cargo script: diff --git a/README.md b/README.md index 2b38a0ee..0aa29821 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Check out our [contribution guide](CONTRIBUTING.md) for detailed instructions fo Pull requests are welcome! -Rojo supports Rust 1.34.0 and newer. The minimum supported version of Rust is based on the latest versions of the dependencies that Rojo has. +Rojo supports Rust 1.36.0 and newer. The minimum supported version of Rust is based on the latest versions of the dependencies that Rojo has. ## License Rojo is available under the terms of the Mozilla Public License, Version 2.0. See [LICENSE.txt](LICENSE.txt) for details. \ No newline at end of file