Skip to content

Commit

Permalink
Create release v0.6.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
abi-git-user committed Oct 29, 2024
1 parent 57dc904 commit 13f7d66
Show file tree
Hide file tree
Showing 195 changed files with 359 additions and 323 deletions.
29 changes: 24 additions & 5 deletions .github/workflows/deploy-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
BUILD_TYPE: Release
MACOSX_DEPLOYMENT_TARGET: 10.15
ARTIFACT_RETENTION_DAYS: 7

jobs:
setup-jobs:
Expand Down Expand Up @@ -275,12 +275,11 @@ jobs:
with:
path: ./build/dist/*
name: ${{ matrix.config.os }}
retention-days: ${{ env.ARTIFACT_RETENTION_DAYS }}

wheels:
needs: setup-jobs
if: needs.setup-jobs.outputs.allowed-jobs == 'Wheels' || needs.setup-jobs.outputs.allowed-jobs == 'All'
permissions:
id-token: write
name: ${{ matrix.name }} ${{ matrix.py }} wheel
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -363,14 +362,33 @@ jobs:
package-dir: src/bindings/python/

- name: Upload Python wheels as artifacts
if: needs.setup-jobs.outputs.binaries-destination == 'Artifact'
uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: ${{ matrix.name }}-${{ matrix.py }}-wheel
retention-days: ${{ env.ARTIFACT_RETENTION_DAYS }}

publish-wheels:
if: needs.setup-jobs.outputs.binaries-destination == 'Publish'
needs: wheels
runs-on: ubuntu-22.04
timeout-minutes: 5 # Docker+network are slow sometimes.
permissions:
id-token: write
name: Publish Wheels
steps:
- name: Download Python wheel artifacts
uses: actions/download-artifact@v4
with:
path: wheelhouse/
pattern: '*-wheel'
merge-multiple: true

- name: Display downloaded wheels
run: |
ls wheelhouse
- name: Publish Python wheels
if: needs.setup-jobs.outputs.binaries-destination == 'Publish'
env:
name: pypi
url: https://pypi.org/p/libcellml
Expand Down Expand Up @@ -448,6 +466,7 @@ jobs:
with:
path: ${{ steps.package-javascript.outputs.files }}
name: libcellml.js
retention-days: ${{ env.ARTIFACT_RETENTION_DAYS }}

- name: Publish libcellml.js
if: needs.setup-jobs.outputs.binaries-destination == 'Publish'
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15 CACHE STRING "Minimum OS X deployment vers

set(PROJECT_NAME libCellML)
set(PROJECT_URL https://libcellml.org)
set(_PROJECT_VERSION 0.6.1)
set(_PROJECT_VERSION 0.6.2)
set(PROJECT_DEVELOPER_VERSION )
project(${PROJECT_NAME} VERSION ${_PROJECT_VERSION} LANGUAGES CXX)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
libCellML v0.6.1 Changelog
==========================
libCellML v0.6.1-rc.3 Changelog
===============================

Infrastructure
--------------
Expand Down
15 changes: 15 additions & 0 deletions docs/changelogs/changelog_v0.6.2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
libCellML v0.6.2 Changelog
==========================

Infrastructure
--------------

* Fix publishing of PyPI wheels by `@hsorby <https://github.com/hsorby>`_ [`#1284 <https://github.com/cellml/libcellml/pull/1284>`_].

Contributors
------------

.. image:: https://avatars.githubusercontent.com/u/778048?v=4
:target: https://github.com/hsorby
:height: 32
:width: 32
3 changes: 2 additions & 1 deletion docs/changelogs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changelogs

.. toctree::

changelog_v0.6.1
changelog_v0.6.2
changelog_v0.6.1-rc.3
changelog_v0.6.0
changelog_v0.5.0
changelog_v0.4.0
Expand Down
3 changes: 2 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ Changelogs

.. toctree::

changelogs/changelog_v0.6.1
changelogs/changelog_v0.6.2
changelogs/changelog_v0.6.1-rc.3
changelogs/changelog_v0.6.0
changelogs/changelog_v0.5.0
changelogs/changelog_v0.4.0
Expand Down
2 changes: 1 addition & 1 deletion tests/bindings/javascript/version.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ describe("Version tests", () => {
libcellml = await libCellMLModule();
});
test('Checking version string.', () => {
expect(libcellml.versionString()).toBe('0.6.1');
expect(libcellml.versionString()).toBe('0.6.2');
});
})
4 changes: 2 additions & 2 deletions tests/resources/coverage/generator/model.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* The content of this file was generated using the C profile of libCellML 0.6.1. */
/* The content of this file was generated using the C profile of libCellML 0.6.2. */

#include "model.h"

#include <math.h>
#include <stdlib.h>

const char VERSION[] = "0.5.0";
const char LIBCELLML_VERSION[] = "0.6.1";
const char LIBCELLML_VERSION[] = "0.6.2";

const size_t STATE_COUNT = 1;
const size_t VARIABLE_COUNT = 209;
Expand Down
2 changes: 1 addition & 1 deletion tests/resources/coverage/generator/model.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* The content of this file was generated using the C profile of libCellML 0.6.1. */
/* The content of this file was generated using the C profile of libCellML 0.6.2. */

#pragma once

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* The content of this file was generated using a modified C profile of libCellML 0.6.1. */
/* The content of this file was generated using a modified C profile of libCellML 0.6.2. */

double xor(double x, double y)
{
Expand Down
2 changes: 1 addition & 1 deletion tests/resources/coverage/generator/model.interface.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* The content of this file was generated using a modified C profile of libCellML 0.6.1. */
/* The content of this file was generated using a modified C profile of libCellML 0.6.2. */

#pragma once

Expand Down
4 changes: 2 additions & 2 deletions tests/resources/coverage/generator/model.modified.profile.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* The content of this file was generated using a modified C profile of libCellML 0.6.1. */
/* The content of this file was generated using a modified C profile of libCellML 0.6.2. */

#include "model.h"

#include <math.h>
#include <stdlib.h>

const char VERSION[] = "0.5.0.post0";
const char LIBCELLML_VERSION[] = "0.6.1";
const char LIBCELLML_VERSION[] = "0.6.2";

const size_t STATE_COUNT = 1;
const size_t VARIABLE_COUNT = 209;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* The content of this file was generated using a modified C profile of libCellML 0.6.1. */
/* The content of this file was generated using a modified C profile of libCellML 0.6.2. */

#pragma once

Expand Down
4 changes: 2 additions & 2 deletions tests/resources/coverage/generator/model.modified.profile.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# The content of this file was generated using a modified Python profile of libCellML 0.6.1.
# The content of this file was generated using a modified Python profile of libCellML 0.6.2.

from enum import Enum
from math import *


__version__ = "0.4.0.post0"
LIBCELLML_VERSION = "0.6.1"
LIBCELLML_VERSION = "0.6.2"

STATE_COUNT = 1
VARIABLE_COUNT = 209
Expand Down
2 changes: 1 addition & 1 deletion tests/resources/coverage/generator/model.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* The content of this file was generated using a modified C profile of libCellML 0.6.1. */
/* The content of this file was generated using a modified C profile of libCellML 0.6.2. */

#include "customheaderfile.h"

Expand Down
4 changes: 2 additions & 2 deletions tests/resources/coverage/generator/model.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# The content of this file was generated using the Python profile of libCellML 0.6.1.
# The content of this file was generated using the Python profile of libCellML 0.6.2.

from enum import Enum
from math import *


__version__ = "0.4.0"
LIBCELLML_VERSION = "0.6.1"
LIBCELLML_VERSION = "0.6.2"

STATE_COUNT = 1
VARIABLE_COUNT = 209
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* The content of this file was generated using the C profile of libCellML 0.6.1. */
/* The content of this file was generated using the C profile of libCellML 0.6.2. */

#include "model.h"

#include <math.h>
#include <stdlib.h>

const char VERSION[] = "0.5.0";
const char LIBCELLML_VERSION[] = "0.6.1";
const char LIBCELLML_VERSION[] = "0.6.2";

const size_t VARIABLE_COUNT = 2;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* The content of this file was generated using the C profile of libCellML 0.6.1. */
/* The content of this file was generated using the C profile of libCellML 0.6.2. */

#include "model.external.h"

#include <math.h>
#include <stdlib.h>

const char VERSION[] = "0.5.0";
const char LIBCELLML_VERSION[] = "0.6.1";
const char LIBCELLML_VERSION[] = "0.6.2";

const size_t VARIABLE_COUNT = 2;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* The content of this file was generated using the C profile of libCellML 0.6.1. */
/* The content of this file was generated using the C profile of libCellML 0.6.2. */

#pragma once

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# The content of this file was generated using the Python profile of libCellML 0.6.1.
# The content of this file was generated using the Python profile of libCellML 0.6.2.

from enum import Enum
from math import *


__version__ = "0.4.0"
LIBCELLML_VERSION = "0.6.1"
LIBCELLML_VERSION = "0.6.2"

VARIABLE_COUNT = 2

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* The content of this file was generated using the C profile of libCellML 0.6.1. */
/* The content of this file was generated using the C profile of libCellML 0.6.2. */

#pragma once

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# The content of this file was generated using the Python profile of libCellML 0.6.1.
# The content of this file was generated using the Python profile of libCellML 0.6.2.

from enum import Enum
from math import *


__version__ = "0.4.0"
LIBCELLML_VERSION = "0.6.1"
LIBCELLML_VERSION = "0.6.2"

VARIABLE_COUNT = 2

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* The content of this file was generated using the C profile of libCellML 0.6.1. */
/* The content of this file was generated using the C profile of libCellML 0.6.2. */

#include "model.h"

#include <math.h>
#include <stdlib.h>

const char VERSION[] = "0.5.0";
const char LIBCELLML_VERSION[] = "0.6.1";
const char LIBCELLML_VERSION[] = "0.6.2";

const size_t VARIABLE_COUNT = 2;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* The content of this file was generated using the C profile of libCellML 0.6.1. */
/* The content of this file was generated using the C profile of libCellML 0.6.2. */

#pragma once

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# The content of this file was generated using the Python profile of libCellML 0.6.1.
# The content of this file was generated using the Python profile of libCellML 0.6.2.

from enum import Enum
from math import *


__version__ = "0.4.0"
LIBCELLML_VERSION = "0.6.1"
LIBCELLML_VERSION = "0.6.2"

VARIABLE_COUNT = 2

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* The content of this file was generated using the C profile of libCellML 0.6.1. */
/* The content of this file was generated using the C profile of libCellML 0.6.2. */

#include "model.h"

#include <math.h>
#include <stdlib.h>

const char VERSION[] = "0.5.0";
const char LIBCELLML_VERSION[] = "0.6.1";
const char LIBCELLML_VERSION[] = "0.6.2";

const size_t VARIABLE_COUNT = 1;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* The content of this file was generated using the C profile of libCellML 0.6.1. */
/* The content of this file was generated using the C profile of libCellML 0.6.2. */

#pragma once

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# The content of this file was generated using the Python profile of libCellML 0.6.1.
# The content of this file was generated using the Python profile of libCellML 0.6.2.

from enum import Enum
from math import *


__version__ = "0.4.0"
LIBCELLML_VERSION = "0.6.1"
LIBCELLML_VERSION = "0.6.2"

VARIABLE_COUNT = 1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* The content of this file was generated using the C profile of libCellML 0.6.1. */
/* The content of this file was generated using the C profile of libCellML 0.6.2. */

#include "model.h"

#include <math.h>
#include <stdlib.h>

const char VERSION[] = "0.5.0";
const char LIBCELLML_VERSION[] = "0.6.1";
const char LIBCELLML_VERSION[] = "0.6.2";

const size_t STATE_COUNT = 1;
const size_t VARIABLE_COUNT = 2;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* The content of this file was generated using the C profile of libCellML 0.6.1. */
/* The content of this file was generated using the C profile of libCellML 0.6.2. */

#pragma once

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# The content of this file was generated using the Python profile of libCellML 0.6.1.
# The content of this file was generated using the Python profile of libCellML 0.6.2.

from enum import Enum
from math import *


__version__ = "0.4.0"
LIBCELLML_VERSION = "0.6.1"
LIBCELLML_VERSION = "0.6.2"

STATE_COUNT = 1
VARIABLE_COUNT = 2
Expand Down
Loading

0 comments on commit 13f7d66

Please sign in to comment.