Skip to content

Commit

Permalink
Update with reviewed changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishna-13-cyber committed Feb 26, 2024
1 parent d298694 commit f6db92a
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 118 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/arch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: 'Arch'
on:
push:
branches:
- master
pull_request:
branches:
- master

workflow_dispatch:

jobs:
build_1:
uses: vgvassilev/clad/.github/workflows/called.yml@master
with:
username: x86

build_2:
uses: vgvassilev/clad/.github/workflows/called.yml@master
with:
username: armv7

build_3:
uses: vgvassilev/clad/.github/workflows/called.yml@master
with:
username: aarch64
42 changes: 42 additions & 0 deletions .github/workflows/called.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: 'Reusable Workflows'

on:
workflow_call:
inputs:
username:
required: true
type: string

jobs:
architecture:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: "Setup latest Alpine Linux"
uses: jirutka/setup-alpine@v1
with:
arch: ${{ inputs.username }}
branch: edge
packages: >
llvm-dev
clang-dev
clang-static
llvm17-static
llvm17-gtest
cmake
llvm
clang
make
- name: "Setup"
run: |
clang --version
make --version
shell: alpine.sh {0}

- name: "Compile library"
run: |
mkdir build && cd build
cmake -DLLVM_EXTERNAL_LIT="$(which lit)" ../../clad
make -j 8 check-clad
shell: alpine.sh {0}
118 changes: 0 additions & 118 deletions .github/workflows/platforms.yml

This file was deleted.

0 comments on commit f6db92a

Please sign in to comment.