Skip to content

Commit

Permalink
Change Remove clang and gcc installation and rollback to workflow dis…
Browse files Browse the repository at this point in the history
…patch based on pull request
  • Loading branch information
lb991 committed Jul 17, 2024
1 parent 31281d8 commit 16d59d4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 21 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/android-clang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ name: Build for Android with Clang using the NDK

on:
workflow_dispatch:
inputs:
ref:
description: 'Branch or commit to build'
required: true
default: 'main'
pull_request:
branches:
- main

jobs:
build:
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/linux-clang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ name: Build for Linux with Clang

on:
workflow_dispatch:
inputs:
ref:
description: 'Branch or commit to build'
required: true
default: 'main'
pull_request:
branches:
- main

jobs:
build:
Expand All @@ -16,9 +14,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Clang
run: sudo apt-get install -y clang

- name: Build with Clang
run: |
mkdir -p build
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/linux-gcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ name: Build for Linux with GCC

on:
workflow_dispatch:
inputs:
ref:
description: 'Branch or commit to build'
required: true
default: 'main'
pull_request:
branches:
- main

jobs:
build:
Expand All @@ -16,9 +14,6 @@ jobs:
- name: Git checkout
uses: actions/checkout@v4

- name: Set up GCC
run: sudo apt-get install -y build-essential

- name: Build with GCC
run: |
mkdir -p build
Expand Down

0 comments on commit 16d59d4

Please sign in to comment.