Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
0b4350a0
Unverified
Commit
0b4350a0
authored
Jan 22, 2022
by
alanminko
Committed by
GitHub
Jan 22, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #151 from sterin/master
Build CMake on GitHub Actions
parents
2ccb0f78
0a536417
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
5 deletions
+11
-5
.github/workflows/build-posix-cmake.yml
+3
-3
.github/workflows/build-posix.yml
+0
-0
.github/workflows/build-windows.yml
+0
-0
CMakeLists.txt
+5
-0
README.md
+3
-2
No files found.
.github/workflows/build-posix-cmake.yml
View file @
0b4350a0
...
@@ -11,7 +11,7 @@ jobs:
...
@@ -11,7 +11,7 @@ jobs:
runs-on
:
${{ matrix.os }}
runs-on
:
${{ matrix.os }}
env
:
env
:
MAKE_ARGS
:
${{ matrix.use_namespace && '-DABC_USE_NAMESPACE=ON
' || '' }}
CMAKE_ARGS
:
${{ matrix.use_namespace && '-DABC_USE_NAMESPACE=xxx
' || '' }}
DEMO_ARGS
:
${{ matrix.use_namespace && '-DABC_NAMESPACE=xxx' || '' }}
DEMO_ARGS
:
${{ matrix.use_namespace && '-DABC_NAMESPACE=xxx' || '' }}
DEMO_GCC
:
${{ matrix.use_namespace && 'g++ -x c++' || 'gcc' }}
DEMO_GCC
:
${{ matrix.use_namespace && 'g++ -x c++' || 'gcc' }}
...
@@ -34,7 +34,7 @@ jobs:
...
@@ -34,7 +34,7 @@ jobs:
-
name
:
Configure CMake
-
name
:
Configure CMake
run
:
|
run
:
|
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -B build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release
${CMAKE_ARGS}
-B build
-
name
:
Build CMake
-
name
:
Build CMake
run
:
|
run
:
|
...
@@ -53,7 +53,7 @@ jobs:
...
@@ -53,7 +53,7 @@ jobs:
-
name
:
Stage Executable
-
name
:
Stage Executable
run
:
|
run
:
|
mkdir staging
mkdir staging
cp
abc
libabc.a staging/
cp
build/abc build/
libabc.a staging/
-
name
:
Upload pacakge artifact
-
name
:
Upload pacakge artifact
uses
:
actions/upload-artifact@v1
uses
:
actions/upload-artifact@v1
...
...
.github/
disabled-
workflows/build-posix.yml
→
.github/workflows/build-posix.yml
View file @
0b4350a0
File moved
.github/
disabled-
workflows/build-windows.yml
→
.github/workflows/build-windows.yml
View file @
0b4350a0
File moved
CMakeLists.txt
View file @
0b4350a0
...
@@ -47,9 +47,14 @@ if(ABC_USE_NAMESPACE)
...
@@ -47,9 +47,14 @@ if(ABC_USE_NAMESPACE)
set
(
ABC_USE_NAMESPACE_FLAGS
"ABC_USE_NAMESPACE=
${
ABC_USE_NAMESPACE
}
"
)
set
(
ABC_USE_NAMESPACE_FLAGS
"ABC_USE_NAMESPACE=
${
ABC_USE_NAMESPACE
}
"
)
endif
()
endif
()
if
(
APPLE
)
set
(
make_env
${
CMAKE_COMMAND
}
-E env SDKROOT=
${
CMAKE_OSX_SYSROOT
}
)
endif
()
# run make to extract compiler options, linker options and list of source files
# run make to extract compiler options, linker options and list of source files
execute_process
(
execute_process
(
COMMAND
COMMAND
${
make_env
}
make
make
${
ABC_READLINE_FLAGS
}
${
ABC_READLINE_FLAGS
}
${
ABC_USE_NAMESPACE_FLAGS
}
${
ABC_USE_NAMESPACE_FLAGS
}
...
...
README.md
View file @
0b4350a0
[
![.github/workflows/build-posix.yml
](
https://github.com/sterin/abc/actions/workflows/build-posix.yml/badge.svg
)
](https://github.com/sterin/abc/actions/workflows/build-posix.yml)
[
![.github/workflows/build-posix.yml
](
https://github.com/berkeley-abc/abc/actions/workflows/build-posix.yml/badge.svg
)
](https://github.com/berkeley-abc/abc/actions/workflows/build-posix.yml)
[
![.github/workflows/build-windows.yml
](
https://github.com/sterin/abc/actions/workflows/build-windows.yml/badge.svg
)
](https://github.com/sterin/abc/actions/workflows/build-windows.yml)
[
![.github/workflows/build-windows.yml
](
https://github.com/berkeley-abc/abc/actions/workflows/build-windows.yml/badge.svg
)
](https://github.com/berkeley-abc/abc/actions/workflows/build-windows.yml)
[
![.github/workflows/build-posix-cmake.yml
](
https://github.com/berkeley-abc/abc/actions/workflows/build-posix-cmake.yml/badge.svg
)
](https://github.com/berkeley-abc/abc/actions/workflows/build-posix-cmake.yml)
# ABC: System for Sequential Logic Synthesis and Formal Verification
# ABC: System for Sequential Logic Synthesis and Formal Verification
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment