[+] all actions
This commit is contained in:
138
.github/workflows/build.yml
vendored
138
.github/workflows/build.yml
vendored
@@ -5,69 +5,70 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# taoyao-signal-server:
|
taoyao-signal-server:
|
||||||
# name: Build taoyao signal server
|
name: Build taoyao signal server
|
||||||
# strategy:
|
strategy:
|
||||||
# matrix:
|
matrix:
|
||||||
# runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||||
# runs-on: ${{ matrix.runs-on }}
|
runs-on: ${{ matrix.runs-on }}
|
||||||
# steps:
|
steps:
|
||||||
# - name: Checkout repository
|
- name: Checkout repository
|
||||||
# uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
# - name: Set up JDK
|
- name: Set up JDK
|
||||||
# uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
# with:
|
with:
|
||||||
# java-version: 17
|
java-version: 17
|
||||||
# - name: Build with Maven
|
- name: Build with Maven
|
||||||
# run: mvn clean package -P prd -D maven.test.skip=true -B -V --file ./taoyao-signal-server/pom.xml
|
run: mvn clean package -P prd -D maven.test.skip=true -B -V --file ./taoyao-signal-server/pom.xml
|
||||||
# taoyao-client-web:
|
taoyao-client-web:
|
||||||
# name: Build taoyao client web
|
name: Build taoyao client web
|
||||||
# strategy:
|
strategy:
|
||||||
# matrix:
|
matrix:
|
||||||
# runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||||
# runs-on: ${{ matrix.runs-on }}
|
runs-on: ${{ matrix.runs-on }}
|
||||||
# steps:
|
steps:
|
||||||
# - name: Checkout repository
|
- name: Checkout repository
|
||||||
# uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
# - name: Use Node.js 16.x
|
- name: Use Node.js 16.x
|
||||||
# uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
# with:
|
with:
|
||||||
# cache: npm
|
cache: npm
|
||||||
# node-version: 16.x
|
node-version: 16.x
|
||||||
# cache-dependency-path: ./taoyao-client-web
|
cache-dependency-path: ./taoyao-client-web
|
||||||
# - name: Build with NodeJS
|
- name: Build with NodeJS
|
||||||
# run: |
|
run: |
|
||||||
# npm install
|
npm install
|
||||||
# npm run build
|
npm run build
|
||||||
# working-directory: ./taoyao-client-web
|
working-directory: ./taoyao-client-web
|
||||||
# taoyao-client-media:
|
taoyao-client-media:
|
||||||
# name: Build taoyao client media
|
name: Build taoyao client media
|
||||||
# strategy:
|
strategy:
|
||||||
# matrix:
|
matrix:
|
||||||
# runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||||
# runs-on: ${{ matrix.runs-on }}
|
runs-on: ${{ matrix.runs-on }}
|
||||||
# steps:
|
steps:
|
||||||
# - name: Checkout repository
|
- name: Checkout repository
|
||||||
# uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
# - name: Use Node.js 16.x
|
- name: Use Node.js 16.x
|
||||||
# uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
# with:
|
with:
|
||||||
# cache: npm
|
cache: npm
|
||||||
# node-version: 16.x
|
node-version: 16.x
|
||||||
# cache-dependency-path: ./taoyao-client-media
|
cache-dependency-path: ./taoyao-client-media
|
||||||
# - name: Build with NodeJS
|
- name: Build with NodeJS
|
||||||
# run: |
|
run: |
|
||||||
# npm install
|
npm install
|
||||||
# working-directory: ./taoyao-client-media
|
working-directory: ./taoyao-client-media
|
||||||
taoyao-client-android:
|
taoyao-client-android:
|
||||||
name: Build taoyao client android
|
name: Build taoyao client android
|
||||||
# strategy:
|
strategy:
|
||||||
# matrix:
|
matrix:
|
||||||
# runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.runs-on }}
|
||||||
steps:
|
steps:
|
||||||
# - name: Git config longpaths
|
- name: Git config longpaths
|
||||||
# run: sudo git config --system core.longpaths true
|
if: runner.os == 'windows'
|
||||||
|
run: git config --system core.longpaths true
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Checkout WebRTC
|
- name: Checkout WebRTC
|
||||||
@@ -88,17 +89,12 @@ jobs:
|
|||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
uses: android-actions/setup-android@v2
|
uses: android-actions/setup-android@v2
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
# if: runner.os != 'windows'
|
if: runner.os != 'windows'
|
||||||
run: |
|
run: |
|
||||||
echo "======"
|
|
||||||
ls ./taoyao-client-android/taoyao/media/deps/webrtc
|
|
||||||
ls ./taoyao-client-android/taoyao/media/deps/webrtc/lib
|
|
||||||
echo "======"
|
|
||||||
ls ./taoyao-client-android/taoyao/media/deps/libmediasoupclient
|
|
||||||
cd ./taoyao-client-android/taoyao
|
cd ./taoyao-client-android/taoyao
|
||||||
sh ./gradlew --no-daemon assembleRelease
|
sh ./gradlew --no-daemon assembleRelease
|
||||||
# - name: Build with Gradle
|
- name: Build with Gradle
|
||||||
# if: runner.os == 'windows'
|
if: runner.os == 'windows'
|
||||||
# run: |
|
run: |
|
||||||
# cd ./taoyao-client-android/taoyao
|
cd ./taoyao-client-android/taoyao
|
||||||
# ./gradlew.bat --no-daemon assembleRelease
|
./gradlew.bat --no-daemon assembleRelease
|
||||||
Reference in New Issue
Block a user