зеркало из https://github.com/github/ruby.git
Create GitHub workflow to run ASM tests (#8)
* Create GitHub workflow to run ASM tests * Specify path * Attempt #3 * Set bash flags to print commands, stop on first error * Remove clear command from test_asm.sh * Use clang
This commit is contained in:
Родитель
f1b11fa454
Коммит
eaf039af98
|
@ -0,0 +1,23 @@
|
|||
name: x86 assembler tests
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
set -x
|
||||
sudo apt-get update -q || :
|
||||
sudo apt-get install --no-install-recommends -q -y build-essential
|
||||
- name: git config
|
||||
run: |
|
||||
git config --global advice.detachedHead 0
|
||||
git config --global init.defaultBranch garbage
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
path: src
|
||||
- name: Run ASM tests
|
||||
run: ./test_asm.sh
|
||||
working-directory: src
|
|
@ -1,7 +1,5 @@
|
|||
# NOTE: I did not know what would be the sensible way to compile
|
||||
# and run these tests from the Ruby makefile
|
||||
|
||||
clear
|
||||
set -e
|
||||
set -x
|
||||
|
||||
clang -std=gnu99 -Wall -Werror -Wshorten-64-to-32 yjit_asm.c yjit_asm_tests.c -o asm_test
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче