Lines Matching +full:github +full:- +full:upload +full:- +full:release

10       - 'release/**'
12 - 'llvm/**'
13 - '.github/workflows/llvm-tests.yml'
14 - '.github/workflows/llvm-project-tests.yml'
17 - 'release/**'
19 - 'llvm/**'
20 - '.github/workflows/llvm-tests.yml'
21 - '.github/workflows/llvm-project-tests.yml'
26 group: ${{ github.workflow }}-${{ github.ref }}
27 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
30 check-all:
31 if: github.repository_owner == 'llvm'
33 uses: ./.github/workflows/llvm-project-tests.yml
35 build_target: check-all
38 abi-dump-setup:
39 if: github.repository_owner == 'llvm'
40 runs-on: ubuntu-latest
50 - name: Checkout source
53 fetch-depth: 250
55 - name: Get LLVM version
57 uses: ./.github/workflows/get-llvm-version
59 - name: Setup Variables
69 if [ ${{ steps.version.outputs.patch }} -eq 0 ]; then
71 echo "BASELINE_VERSION_MAJOR=$(( ${{ steps.version.outputs.major }} - 1))"
72 echo "ABI_HEADERS=llvm-c"
81 abi-dump:
82 if: github.repository_owner == 'llvm'
83 needs: abi-dump-setup
84 runs-on: ubuntu-latest
88 - build-baseline
89 - build-latest
91 - name: build-baseline
92 llvm_version_major: ${{ needs.abi-dump-setup.outputs.BASELINE_VERSION_MAJOR }}
93 ref: llvmorg-${{ needs.abi-dump-setup.outputs.BASELINE_VERSION_MAJOR }}.${{ needs.abi-dump-setup.outputs.BASELINE_VERSION_MINOR }}.0
94 repo: llvm/llvm-project
95 - name: build-latest
96 llvm_version_major: ${{ needs.abi-dump-setup.outputs.LLVM_VERSION_MAJOR }}
97 ref: ${{ github.sha }}
98 repo: ${{ github.repository }}
100 - name: Install Ninja
101 uses: llvm/actions/install-ninja@main
102 - name: Install abi-compliance-checker
104 sudo apt-get install abi-dumper autoconf pkg-config
105 - name: Install universal-ctags
107 git clone https://github.com/universal-ctags/ctags.git
112 - name: Download source code
113 uses: llvm/actions/get-llvm-project-src@main
117 - name: Configure
120 cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD="" -DLLVM_BUILD_LLVM_DYLIB=ON -DCMAKE_C_FLAGS_DEBUG="-g1 -Og" -DCMAKE_CXX_FLAGS_DEBUG="-g1 -Og" -DCMAKE_INSTALL_PREFIX="$(pwd)"/install llvm
121 - name: Build
122 # Need to run install-LLVM twice to ensure the symlink is installed (this is a bug).
124 ninja -C build install-LLVM
125 ninja -C build install-LLVM
126 ninja -C build install-llvm-headers
127 - name: Dump ABI
129 if [ "${{ needs.abi-dump-setup.outputs.ABI_HEADERS }}" = "llvm-c" ]; then
130 nm ./install/lib/libLLVM.so | awk "/T _LLVM/ || /T LLVM/ { print $3 }" | sort -u | sed -e "s/^_//g" | cut -d ' ' -f 3 > llvm.symbols
131 # Even though the -symbols-list option doesn't seem to filter out the symbols, I believe it speeds up processing, so I'm leaving it in.
132 export EXTRA_ARGS="-symbols-list llvm.symbols"
136 abi-dumper $EXTRA_ARGS -lver ${{ matrix.ref }} -skip-cxx -public-headers ./install/include/${{ needs.abi-dump-setup.outputs.ABI_HEADERS }} -o ${{ matrix.ref }}.abi ./install/lib/libLLVM.so
138 sed -i 's/LLVM_${{ matrix.llvm_version_major }}/LLVM_NOVERSION/' ${{ matrix.ref }}.abi
139 - name: Upload ABI file
140 uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # 4.6.0
145 - name: Upload symbol list file
146 if: matrix.name == 'build-baseline'
147 uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # 4.6.0
149 name: symbol-list
152 abi-compare:
153 if: github.repository_owner == 'llvm'
154 runs-on: ubuntu-latest
156 - abi-dump-setup
157 - abi-dump
159 - name: Download baseline
160 uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # 4.1.8
162 name: build-baseline
163 path: build-baseline
164 - name: Download latest
165 uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # 4.1.8
167 name: build-latest
168 path: build-latest
169 - name: Download symbol list
170 uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # 4.1.8
172 name: symbol-list
173 path: symbol-list
175 - name: Install abi-compliance-checker
176 run: sudo apt-get install abi-compliance-checker
177 - name: Compare ABI
179 if [ -s symbol-list/llvm.symbols ]; then
181 export EXTRA_ARGS="-symbols-list symbol-list/llvm.symbols"
183 # FIXME: Reading of gzip'd abi files on the GitHub runners stop
186 abi-compliance-checker $EXTRA_ARGS -l libLLVM.so -old build-baseline/*.abi -new build-latest/*.abi || test "${{ needs.abi-dump-setup.outputs.ABI_HEADERS }}" = "llvm-c"
187 - name: Upload ABI Comparison
189 uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # 4.6.0
191 name: compat-report-${{ github.sha }}