Skip to content

Deploy

Deploy #24

Workflow file for this run

name: Deploy
on:
push:
branches:
- try_deploy
paths:
- "**.cpp"
- "**.h"
- "**.java"
pull_request:
branches:
- master
workflow_dispatch:
env:
WEBRTC_CACHE_BRANCH: 6998
WEBRTC_CHECKOUT_FOLDER: webrtc
WEBRTC_INSTALL_FOLDER: webrtc/build
jobs:
# build-windows:
# strategy:
# fail-fast: false
# matrix:
# platform:
# - name: windows_x86_64
# runs-on: windows-2022
# java: [17]
# runs-on: ${{ matrix.platform.runs-on }}
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - id: prepare
# name: Prepare build
# uses: ./.github/actions/prepare-windows
#
# - id: maven-build
# name: Maven build
# uses: ./.github/actions/build
# with:
# java-version: ${{ matrix.java }}
# platform-name: ${{ matrix.platform.name }}
# gitlab-token: ${{ secrets.GITLAB_TOKEN }}
build-linux:
strategy:
fail-fast: false
matrix:
platform:
- name: linux_arm
runs-on: ubuntu-22.04
- name: linux_arm64
runs-on: ubuntu-22.04
- name: linux_x86-64
runs-on: ubuntu-22.04
java: [ 17 ]
runs-on: ${{ matrix.platform.runs-on }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- id: prepare
name: Prepare build
uses: ./.github/actions/prepare-linux
- id: maven-build
name: Maven build
uses: ./.github/actions/build
with:
java-version: ${{ matrix.java }}
platform-name: ${{ matrix.platform.name }}
maven-username: ${{ secrets.MAVEN_USERNAME }}
maven-password: ${{ secrets.MAVEN_TOKEN }}