From b92cdcb446f44c5ba0c3e9081094c70839bbf7ed Mon Sep 17 00:00:00 2001 From: Princess-of-Sleeping <29831892+Princess-of-Sleeping@users.noreply.github.com> Date: Wed, 14 Jun 2023 23:38:16 +0900 Subject: [PATCH] Fixed workflow build --- .github/workflows/build.yml | 36 ++++++++++++++++-------------------- README.md | 2 +- 2 files changed, 17 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 83371c8..1058a55 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,21 +10,19 @@ on: jobs: build-linux: runs-on: ubuntu-latest - container: ubuntu:14.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v2 - name: Install dependencies run: | sudo apt-get update sudo apt-get install -y software-properties-common - sudo add-apt-repository ppa:george-edison55/cmake-3.x - sudo apt-get update - sudo apt-get install -y cmake cmake-data git build-essential autoconf libtool texinfo bison flex pkg-config python + sudo apt-get install -y cmake cmake-data git build-essential autoconf automake libtool texinfo bison flex pkg-config - name: Clone run: | export REV=dirty-$(git describe --always) git clone https://github.com/vitasdk/buildscripts.git - chmod +x *.sh + chmod +x *.sh - name: Build run: | cd buildscripts @@ -36,7 +34,7 @@ jobs: make -j$(nproc) tarball - name: Upload artifacts if: ${{ success() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: vitasdk-linux path: buildscripts/build/*.tar.bz2 @@ -50,18 +48,18 @@ jobs: tag: master-linux-v2.${{github.run_number}} release_name: master-linux-v2.${{github.run_number}} build-macos: - runs-on: macos-10.15 + runs-on: macos-12 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-python@v2 - name: Install dependencies run: | - brew install automake libtool + brew install autoconf automake libtool - name: Clone run: | export REV=dirty-$(git describe --always) git clone https://github.com/vitasdk/buildscripts.git - chmod +x *.sh + chmod +x *.sh - name: Build run: | cd buildscripts @@ -73,7 +71,7 @@ jobs: make -j$(nproc) tarball - name: Upload artifacts if: ${{ success() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: vitasdk-macos path: buildscripts/build/*.tar.bz2 @@ -88,21 +86,19 @@ jobs: release_name: master-osx-v2.${{github.run_number}} build-windows: runs-on: ubuntu-latest - container: ubuntu:14.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v2 - name: Install dependencies run: | sudo apt-get update sudo apt-get install -y software-properties-common - sudo add-apt-repository ppa:george-edison55/cmake-3.x - sudo apt-get update - sudo apt-get install -y cmake cmake-data git build-essential autoconf libtool texinfo bison flex pkg-config g++-mingw-w64 python + sudo apt-get install -y cmake cmake-data git build-essential autoconf automake libtool texinfo bison flex pkg-config g++-mingw-w64 - name: Clone run: | export REV=dirty-$(git describe --always) git clone https://github.com/vitasdk/buildscripts.git - chmod +x *.sh + chmod +x *.sh - name: Build run: | cd buildscripts @@ -116,7 +112,7 @@ jobs: make -j$(nproc) tarball - name: Upload artifacts if: ${{ success() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: vitasdk-windows path: buildscripts/build/*.tar.bz2 @@ -128,4 +124,4 @@ jobs: overwrite: true file_glob: true tag: master-win-v2.${{github.run_number}} - release_name: master-win-v2.${{github.run_number}} + release_name: master-win-v2.${{github.run_number}} \ No newline at end of file diff --git a/README.md b/README.md index b2ad5a0..b44ae63 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ autobuilds ========== -[![Build Status](https://travis-ci.org/vitasdk/autobuilds.svg?branch=master)](https://travis-ci.org/vitasdk/autobuilds) +[![Build](https://github.com/vitasdk/autobuilds/actions/workflows/build.yml/badge.svg)](https://github.com/vitasdk/autobuilds/actions/workflows/build.yml) The latest builds can be found [here](https://github.com/vitasdk/autobuilds/releases/) for Windows (x64), Linux (x64), and OSX (Intel).